1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Added the -f, --fogrc option for specifying an alternate fogrc file.

This commit is contained in:
Postmodern 2013-06-25 17:59:54 -07:00
parent b00f8e65e7
commit 56a6585282

View file

@ -8,6 +8,10 @@ require 'yaml'
options = OptionParser.new do |opts|
opts.banner = 'usage: fog [options] GROUP'
opts.on('-f', '--fogrc FILE', 'Path to the fogrc file') do |file|
Fog.credentials_path = file
end
opts.on_tail('-V', '--version', 'Prints the version') do
puts Fog::VERSION
exit