mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #1927 from fog/change_version_short_option
[cli] Changes `fog --version` short option to `-v`
This commit is contained in:
commit
11afbd6461
1 changed files with 1 additions and 1 deletions
2
bin/fog
2
bin/fog
|
@ -12,7 +12,7 @@ options = OptionParser.new do |opts|
|
||||||
Fog.credentials_path = file
|
Fog.credentials_path = file
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on_tail('-V', '--version', 'Prints the version') do
|
opts.on_tail('-v', '--version', 'Prints the version') do
|
||||||
puts Fog::VERSION
|
puts Fog::VERSION
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue