diff options
author | elijah <elijah@riseup.net> | 2015-02-03 10:14:14 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-02-03 10:14:14 -0800 |
commit | 885e44ec43c17a595fff8d10f24d0724fb2c37ce (patch) | |
tree | 43bde8112de567cfa75f85401be4f4a79bd827e7 /bin/leap | |
parent | c7d5c2798f47ed0a06f0ef57908c556580f72f9c (diff) |
fixed missing ORIGINAL_ARGV when running with --version
Diffstat (limited to 'bin/leap')
-rwxr-xr-x | bin/leap | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,6 +11,7 @@ else end LEAP_CLI_BASE_DIR = File.expand_path('..', File.dirname(File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__)) +ORIGINAL_ARGV = ARGV.dup begin require 'leap_cli' @@ -100,7 +101,6 @@ module LeapCli::Commands commands_from('leap_cli/commands') # run command - ORIGINAL_ARGV = ARGV.dup begin exit_status = run(ARGV) exit(LeapCli::Util.exit_status || exit_status) |