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:
parent
b00f8e65e7
commit
56a6585282
1 changed files with 4 additions and 0 deletions
4
bin/fog
4
bin/fog
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue