diff options
| author | Adam Vandenberg | 2014-04-26 23:31:39 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-30 19:09:29 -0700 |
| commit | 273bbfda3353abd58f77aef66523a9617fa30128 (patch) | |
| tree | 06fa08814966bef66d4d20231e9de5c306e39be5 /Library | |
| parent | 43b1b8f8bf1d3fce611fb8398202906352de7daa (diff) | |
| download | homebrew-273bbfda3353abd58f77aef66523a9617fa30128.tar.bz2 | |
--config -> config
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 2 | ||||
| -rw-r--r-- | Library/Contributions/brew_zsh_completion.zsh | 2 | ||||
| -rwxr-xr-x | Library/Contributions/cmd/brew-gist-logs.rb | 2 | ||||
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 2 | ||||
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 10 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/config.rb (renamed from Library/Homebrew/cmd/--config.rb) | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/help.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/hardware.rb | 2 | ||||
| -rwxr-xr-x | Library/brew.rb | 2 |
11 files changed, 15 insertions, 15 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index ee2bcbed3..a0ab0faca 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -450,7 +450,7 @@ _brew () 2>/dev/null | sed -e "s/\.rb//g" -e "s/brew-//g" \ -e "s/.*\///g") __brewcomp " - --cache --cellar --config + --cache --cellar config --env --prefix --repository audit cat diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh index ab889d405..0cae580fb 100644 --- a/Library/Contributions/brew_zsh_completion.zsh +++ b/Library/Contributions/brew_zsh_completion.zsh @@ -77,7 +77,7 @@ local -a formulae installed_formulae installed_taps outdated_formulae running_se _arguments \ '(-v)-v[verbose]' \ '(--cellar)--cellar[brew cellar]' \ - '(--config)--config[brew configuration]' \ + '(config)--config[brew configuration]' \ '(--env)--env[brew environment]' \ '(--repository)--repository[brew repository]' \ '(--version)--version[version information]' \ diff --git a/Library/Contributions/cmd/brew-gist-logs.rb b/Library/Contributions/cmd/brew-gist-logs.rb index 102bf7660..7d4e1c110 100755 --- a/Library/Contributions/cmd/brew-gist-logs.rb +++ b/Library/Contributions/cmd/brew-gist-logs.rb @@ -37,7 +37,7 @@ def load_logs name end def append_config files - files['config.out'] = {:content => `brew --config 2>&1`} + files['config.out'] = {:content => `brew config 2>&1`} end def append_doctor files diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 9832693c8..fa0075884 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -276,7 +276,7 @@ class Test return if ARGV.include? "--skip-setup" test "brew doctor" test "brew --env" - test "brew --config" + test "brew config" end def formula formula diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index be2f8c98c..8e9f6ba7b 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -67,6 +67,11 @@ Note that these flags should only appear after a command. * `commands`: Show a list of built-in and external commands. + * `config`: + Show Homebrew and system configuration useful for debugging. If you file + a bug report, you will likely be asked for this information if you do not + provide it. + * `create <URL> [--autotools|--cmake] [--no-fetch] [--set-name <name>] [--set-version <version>]`: Generate a formula for the downloadable file at <URL> and open it in the editor. Homebrew will attempt to automatically derive the formula name @@ -391,11 +396,6 @@ Note that these flags should only appear after a command. Display the location in the cellar where <formula> would be installed, without any sort of versioned directory as the last path. - * `--config`: - Show Homebrew and system configuration useful for debugging. If you file - a bug report, you will likely be asked for this information if you do not - provide it. - * `--env`: Show a summary of the Homebrew build environment. diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/config.rb index a6df1a2c6..fb3fb7772 100644 --- a/Library/Homebrew/cmd/--config.rb +++ b/Library/Homebrew/cmd/config.rb @@ -1,7 +1,7 @@ require 'hardware' module Homebrew extend self - def __config + def config dump_verbose_config end diff --git a/Library/Homebrew/cmd/help.rb b/Library/Homebrew/cmd/help.rb index b76e363f7..d185c41e2 100644 --- a/Library/Homebrew/cmd/help.rb +++ b/Library/Homebrew/cmd/help.rb @@ -12,7 +12,7 @@ Example usage: Troubleshooting: brew doctor brew install -vd FORMULA - brew [--env | --config] + brew [--env | config] Brewing: brew create [URL [--no-fetch]] diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 8c4abc126..7cdd24cb1 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -190,7 +190,7 @@ class BuildError < Homebrew::InstallationError puts " #{tap_issues_url}" end else - require 'cmd/--config' + require 'cmd/config' require 'cmd/--env' unless formula.core_formula? diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9b8de904e..d6a6f60e1 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -570,7 +570,7 @@ class Formula f.flush Kernel.system "/usr/bin/tail", "-n", "5", logfn unless ARGV.verbose? f.puts - require 'cmd/--config' + require 'cmd/config' Homebrew.write_build_config(f) raise BuildError.new(self, cmd, args, $?) end diff --git a/Library/Homebrew/os/mac/hardware.rb b/Library/Homebrew/os/mac/hardware.rb index e2778590a..7bda71fa4 100644 --- a/Library/Homebrew/os/mac/hardware.rb +++ b/Library/Homebrew/os/mac/hardware.rb @@ -58,7 +58,7 @@ module MacCPUs :g4e # PowerPC 7450 when 100 # This is the only 64-bit PPC CPU type, so it's useful - # to distinguish in `brew --config` output and in bottle tags + # to distinguish in `brew config` output and in bottle tags MacOS.prefer_64_bit? ? :g5_64 : :g5 # PowerPC 970 else :dunno diff --git a/Library/brew.rb b/Library/brew.rb index a27497912..592719340 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -85,7 +85,7 @@ begin 'dr' => 'doctor', '--repo' => '--repository', 'environment' => '--env', - '-c1' => '--config', + '--config' => 'config', } cmd = ARGV.shift |
