aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2012-08-31 15:33:54 -0400
committerMax Howell2012-08-31 15:48:48 -0400
commita8fadbfaeea94be0c5eda7479f05f8d177678265 (patch)
tree251af631015b0c2c8fdd8aba970278af80fdc21e /bin
parent8f95b3f9db58e392d8a4dc980cd2240bffef7cfb (diff)
downloadhomebrew-a8fadbfaeea94be0c5eda7479f05f8d177678265.tar.bz2
`brew -c1` one line configuration summary
At your option: `brew --config -1`.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index efed2c8a5..e495c9c44 100755
--- a/bin/brew
+++ b/bin/brew
@@ -76,6 +76,11 @@ begin
cmd = ARGV.shift
cmd = aliases[cmd] if aliases[cmd]
+ if cmd == '-c1'
+ cmd = '--config'
+ ARGV.unshift('-1')
+ end
+
# Add example external commands to PATH before checking.
ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/cmds"
if which "brew-#{cmd}"