aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-26 16:41:24 -0800
committerelijah <elijah@riseup.net>2013-02-26 16:41:24 -0800
commitb415db1a6bfd08856d299e527bf6b16e3fd220b2 (patch)
treeabfc8339d88487ecb64d826bd635865c8a3774d0 /lib
parenta0a7fce59ee3370f7e0ff2418ad4debcc716026e (diff)
downloadleap_cli-b415db1a6bfd08856d299e527bf6b16e3fd220b2.tar.gz
leap_cli-b415db1a6bfd08856d299e527bf6b16e3fd220b2.tar.bz2
include leap command invocation in the log file, if any.
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/commands/pre.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/commands/pre.rb b/lib/leap_cli/commands/pre.rb
index f10eb68..03355bb 100644
--- a/lib/leap_cli/commands/pre.rb
+++ b/lib/leap_cli/commands/pre.rb
@@ -51,6 +51,7 @@ module LeapCli
# set log file
#
LeapCli.log_file = global[:log] || LeapCli.leapfile.log
+ LeapCli::Util.log_raw(:log) { $0 + ' ' + ORIGINAL_ARGV.join(' ')}
#
# load all the nodes everything