summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-10-31 16:56:46 -0700
committerelijah <elijah@riseup.net>2014-10-31 16:56:46 -0700
commitc05f0def1b5fe4863a80bdfbac3407b011053a89 (patch)
tree9f02b206df1b09f67ec231d9cbb3f1d001bf4f20 /lib/leap_cli/commands
parenta9c79dbb1f8cef409b52835a3d5ee21069434f4c (diff)
only spit out stack trace if --debug
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r--lib/leap_cli/commands/pre.rb2
1 files changed, 1 insertions, 1 deletions
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