Skip to content

Commit

Permalink
Show how to specify a config file when suggesting
Browse files Browse the repository at this point in the history
  • Loading branch information
justincampbell committed Nov 21, 2014
1 parent aa6c560 commit 93d74f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/stacker_bee
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ begin
end
unless options.keys.include?(:config) ||
([:api_key, :secret_key, :url] - options.keys).empty?
puts 'Please specify a config file or all of the following: ' \
'--api_key, --secret_key and --url'
puts \
'Please specify a config file with --config, or all of the following: ' \
'--api_key, --secret_key and --url'
exit
end
rescue OptionParser::InvalidOption, OptionParser::MissingArgument
Expand Down

0 comments on commit 93d74f6

Please sign in to comment.