diff options
| author | Adam Vandenberg | 2010-07-12 09:31:21 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:54 -0700 |
| commit | b1da090e0afca740a371805f52b945fadb692cd1 (patch) | |
| tree | 8c7aa52d5d99fde315d3d389efa1542742d3bef2 /Library | |
| parent | 24d3d397b2033e085c3f7ded8393c9f386d2469f (diff) | |
| download | homebrew-b1da090e0afca740a371805f52b945fadb692cd1.tar.bz2 | |
Formatting in brew-switch
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-switch.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/examples/brew-switch.rb b/Library/Contributions/examples/brew-switch.rb index bb5d3d47b..3b51f941c 100755 --- a/Library/Contributions/examples/brew-switch.rb +++ b/Library/Contributions/examples/brew-switch.rb @@ -2,7 +2,7 @@ require 'formula' require 'keg' if ARGV.named.length != 2 - onoe "Usage: brew switch formula version" + onoe "Usage: brew switch <formula> <version>" exit 1 end @@ -19,7 +19,7 @@ end # Does the target version exist? unless (cellar+version).directory? - onoe "#{name} does not have a version #{version} in the Cellar." + onoe "#{name} does not have a version \"#{version}\" in the Cellar." versions = cellar.children.select { |pn| pn.directory? }.collect { |pn| pn.basename.to_s } puts "Versions available: #{versions.join(', ')}" |
