From c05f0def1b5fe4863a80bdfbac3407b011053a89 Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 31 Oct 2014 16:56:46 -0700 Subject: only spit out stack trace if --debug --- lib/leap_cli/commands/pre.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/leap_cli/commands/pre.rb') diff --git a/lib/leap_cli/commands/pre.rb b/lib/leap_cli/commands/pre.rb index 4bdeefe..7a64c15 100644 --- a/lib/leap_cli/commands/pre.rb +++ b/lib/leap_cli/commands/pre.rb @@ -21,7 +21,7 @@ module LeapCli; module Commands switch :yes, :negatable => false desc 'Enable debugging library (leap_cli development only)' - switch :debug, :negatable => false + switch [:d, :debug], :negatable => false desc 'Disable colors in output' default_value true -- cgit v1.2.3