aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/commands.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/commands.rb')
-rw-r--r--Library/Homebrew/cmd/commands.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb
index 88290a43d..52705c58a 100644
--- a/Library/Homebrew/cmd/commands.rb
+++ b/Library/Homebrew/cmd/commands.rb
@@ -1,3 +1,9 @@
+#: * `commands` [`--quiet` [`--include-aliases`]]:
+#: Show a list of built-in and external commands.
+#:
+#: If `--quiet` is passed, list only the names of commands without the header.
+#: With `--include-aliases`, the aliases of internal commands will be included.
+
module Homebrew
def commands
if ARGV.include? "--quiet"