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
5 years ago
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.
6 years ago
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>
6 years ago
darosior
862ae87389
Fix bash completion
6 years ago
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>
7 years ago
Tomas Stary
e2d66136d3
adding the bash completition script for the client
7 years ago