Skip to content

Commit b218ac6

Browse files
committed
[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.
1 parent df5feab commit b218ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/fog

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ options = OptionParser.new do |opts|
1212
Fog.credentials_path = file
1313
end
1414

15-
opts.on_tail('-V', '--version', 'Prints the version') do
15+
opts.on_tail('-v', '--version', 'Prints the version') do
1616
puts Fog::VERSION
1717
exit
1818
end

0 commit comments

Comments
 (0)