From 40f8c6152e1861841bf9e49278097b343d68d29c Mon Sep 17 00:00:00 2001 From: Janus Date: Tue, 13 Feb 2018 11:45:07 +0100 Subject: [PATCH] lightning: fix lightning subcommand arguments --- lib/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index bdc6c6e7..07eb8fd9 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -694,7 +694,7 @@ class Commands: return sorted(known_commands.keys()) @command("wn") - def lightning(self, lcmd, args=None): + def lightning(self, lcmd, lightningargs=None): q = queue.Queue() class FakeQtSignal: def emit(self, data): @@ -759,6 +759,7 @@ command_options = { 'pending': (None, "Show only pending requests."), 'expired': (None, "Show only expired requests."), 'paid': (None, "Show only paid requests."), + 'lightningargs':(None, "Arguments for an lncli subcommand, encoded as a JSON array"), }