Skip to content

Commit

Permalink
moving console to the top of the common options, removing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nolman committed Sep 5, 2012
1 parent bfff33b commit f46ca7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/goliath/runner.rb
Expand Up @@ -169,10 +169,9 @@ def options_parser
opts.separator ""
opts.separator "Common options:"

opts.on('-C', '--console', 'Start a console') { @options[:console] = true }
opts.on('-v', '--verbose', "Enable verbose logging (default: #{@options[:verbose]})") { |v| @options[:verbose] = v }
opts.on('-h', '--help', 'Display help message') { show_options(opts) }
# Let the options complete parsing and the api get set before loading the console
opts.on('-C', '--console', 'Start a console') { @options[:console] = true }
end
end

Expand Down

0 comments on commit f46ca7a

Please sign in to comment.