mb300sd
b6285ffa5d
Fix bash completion.
...
At some point lightning-cli help defaulted to human readable format, the additional -H broke the bash completion.
Changelog-Fixed: bash completion on lightning-cli now works again
2020-05-15 15:25:33 +02:00
lisa neigut
a6516f477b
bash-completion: include underscores
...
`fundchannel_start` etc are not included in the bash-completion as
they include underscores in their names. this fixes this by including
underscores.
2019-07-09 13:23:14 +02:00
Rusty Russell
ee303e4a94
contrib: fix up bash completion script.
...
$ lightning-cli <TAB><TAB>
autocleaninvoice dev-slowcmd listinvoices
check dev-suppress-gossip listnodes
close disconnect listpayments
connect feerates listpays
decodepay fundchannel listpeers
delexpiredinvoice getinfo listsendpays
delinvoice getlog newaddr
dev-compact-gossip-store getroute -o
dev-crash -h --order
dev-fail -H pay
dev-forget-channel --help paystatus
dev-ignore-htlcs help ping
dev-listaddrs --human-readable --rpc-file
dev-memdump invoice sendpay
dev-memleak -J setchannelfee
dev-query-channel-range --json stop
dev-query-scids -k -V
dev-reenable-commit --keywords --version
dev-rescan-outputs --lightning-dir waitanyinvoice
dev-rhash listchannels waitinvoice
dev-send-timestamp-filter listconfigs waitsendpay
dev-set-max-scids-encode-size listforwards withdraw
dev-sign-last-tx listfunds
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-05-22 00:46:54 +00:00
darosior
862ae87389
Fix bash completion
2019-05-22 00:46:54 +00:00
Rusty Russell
7fd5808803
contrib/lightning-cli.bash-completion: fix for new simpler help format.
...
Plus, we don't need awk *and* sed for this!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-02 00:05:00 +01:00
Tomas Stary
e2d66136d3
adding the bash completition script for the client
2018-01-19 22:28:14 +00:00