From f46ca7aa4b23a8fe14b36e88ebd4d2badacd85b3 Mon Sep 17 00:00:00 2001 From: Nolan Evans Date: Wed, 5 Sep 2012 07:26:56 -0700 Subject: [PATCH] moving console to the top of the common options, removing comment --- lib/goliath/runner.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/goliath/runner.rb b/lib/goliath/runner.rb index a61faa50..4ed2fffd 100644 --- a/lib/goliath/runner.rb +++ b/lib/goliath/runner.rb @@ -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