From f95e08ef7d8defbde4a19e138b1ac4ebc9677669 Mon Sep 17 00:00:00 2001
From: elijah <elijah@riseup.net>
Date: Tue, 4 Oct 2016 16:04:51 -0700
Subject: [PATCH] [bug] always log the leap cli command arguments to the log
 file, if any. closes #8509

---
 bin/leap | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/leap b/bin/leap
index b2eca90..55ffb41 100755
--- a/bin/leap
+++ b/bin/leap
@@ -79,6 +79,9 @@ module LeapCli::Commands
 
   # run command
   begin
+    if ARGV.any?
+      LeapCli.log_raw(:log, nil, "COMMAND") { 'leap ' + ARGV.join(' ') }
+    end
     exit_status = run(ARGV)
     exit(LeapCli::Util.exit_status || exit_status)
   rescue StandardError => exc
-- 
GitLab