diff options
| author | Mike McQuaid | 2016-10-02 08:59:32 +0100 |
|---|---|---|
| committer | GitHub | 2016-10-02 08:59:32 +0100 |
| commit | f90f52d90236ca64edf0e979145bbdbd80c165d1 (patch) | |
| tree | 03043f3fd8c23f633ef6a371b53f835c3da945df /Library/Homebrew/brew.rb | |
| parent | a364c981e4b258d94670f4b0450a45b35f85001f (diff) | |
| parent | a4ebda3fc486e03940e4792e7478a41aada98852 (diff) | |
| download | brew-f90f52d90236ca64edf0e979145bbdbd80c165d1.tar.bz2 | |
Merge pull request #1205 from MikeMcQuaid/help-external-commands
help: support `#:` help in external commands.
Diffstat (limited to 'Library/Homebrew/brew.rb')
| -rw-r--r-- | Library/Homebrew/brew.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb index c4a34d298..985a93de9 100644 --- a/Library/Homebrew/brew.rb +++ b/Library/Homebrew/brew.rb @@ -75,12 +75,9 @@ begin end # Usage instructions should be displayed if and only if one of: - # - a help flag is passed AND an internal command is matched + # - a help flag is passed AND a command is matched # - a help flag is passed AND there is no command specified # - no arguments are passed - # - # It should never affect external commands so they can handle usage - # arguments themselves. if empty_argv || help_flag require "cmd/help" Homebrew.help cmd, empty_argv: empty_argv |
