lightning: fix lightning subcommand arguments
This commit is contained in:
parent
1cbb750e02
commit
40f8c6152e
@ -694,7 +694,7 @@ class Commands:
|
|||||||
return sorted(known_commands.keys())
|
return sorted(known_commands.keys())
|
||||||
|
|
||||||
@command("wn")
|
@command("wn")
|
||||||
def lightning(self, lcmd, args=None):
|
def lightning(self, lcmd, lightningargs=None):
|
||||||
q = queue.Queue()
|
q = queue.Queue()
|
||||||
class FakeQtSignal:
|
class FakeQtSignal:
|
||||||
def emit(self, data):
|
def emit(self, data):
|
||||||
@ -759,6 +759,7 @@ command_options = {
|
|||||||
'pending': (None, "Show only pending requests."),
|
'pending': (None, "Show only pending requests."),
|
||||||
'expired': (None, "Show only expired requests."),
|
'expired': (None, "Show only expired requests."),
|
||||||
'paid': (None, "Show only paid requests."),
|
'paid': (None, "Show only paid requests."),
|
||||||
|
'lightningargs':(None, "Arguments for an lncli subcommand, encoded as a JSON array"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user