[cli] Changes `fog --version` short option to `-v`

Looking at a number of similar Ruby based tools, Bundler, Rubygems, Pry
and IRB all use lowercase v for the short option for `--version`

Ruby itself uses `-v` for verbose but without any further arguments
prints the version and exits.
This commit is contained in:
Paul Thornthwaite 2013-07-01 21:57:52 +01:00
parent df5feab0a5
commit b218ac6cd1
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ options = OptionParser.new do |opts|
Fog.credentials_path = file
end
opts.on_tail('-V', '--version', 'Prints the version') do
opts.on_tail('-v', '--version', 'Prints the version') do
puts Fog::VERSION
exit
end