diff options
| author | Martin Afanasjew | 2015-12-08 09:56:20 +0100 |
|---|---|---|
| committer | Martin Afanasjew | 2015-12-10 15:01:59 +0100 |
| commit | 233a38ac9542db8eff93ffbcb305694da875bb69 (patch) | |
| tree | 9e3ec4c97a29c068e14d0360ef2aeb3762049546 /Library/Homebrew | |
| parent | 85181a067f0f79599d149775f8b2b57fa7388bfa (diff) | |
| download | brew-233a38ac9542db8eff93ffbcb305694da875bb69.tar.bz2 | |
brew.rb: improve handling of --version/-v option
Make both `--version` and `-v` print the Homebrew version and exit, if
provided as first and sole argument. `brew --version` no longer accepts
additional arguments (they were previously ignored). Otherwise interpret
`brew -v <arguments>` as if `brew <arguments> -v` was executed instead
(no change here), but no longer print a line with the Homebrew version.
Closes Homebrew/homebrew#46790.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
Diffstat (limited to 'Library/Homebrew')
0 files changed, 0 insertions, 0 deletions
