From 4fafd71d53463d98f4eb0f76f610b4f32107d51d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 1 Nov 2013 19:04:04 -0500 Subject: Remove "-c1" one-line config This is broken and nobody noticed, so remove it. Closes #23878. --- Library/brew.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Library/brew.rb') diff --git a/Library/brew.rb b/Library/brew.rb index dad310e84..4fa22b4ee 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -70,17 +70,13 @@ begin 'abv' => 'info', 'dr' => 'doctor', '--repo' => '--repository', - 'environment' => '--env' # same as gem + 'environment' => '--env', + '-c1' => '--config', } cmd = ARGV.shift cmd = aliases[cmd] if aliases[cmd] - if cmd == '-c1' # Shortcut for one line of configuration - cmd = '--config' - ARGV.unshift('-1') - end - sudo_check = Set.new %w[ install link pin unpin upgrade ] if sudo_check.include? cmd -- cgit v1.2.3