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
commit3935a34048b78661fdf8c07f02c3d3b1fe621ff7 (patch)
tree029eacb6c53cfb10bf562e5293cb6a568f7c2c95 /bin
parent8a9073fa42fdeefb89be1d5976a7dd44d95276d4 (diff)
downloadbrew-3935a34048b78661fdf8c07f02c3d3b1fe621ff7.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}"