Browse Source

Add Zcash RPC commands to CLI argument completion

pull/4/head
Jack Grigg 8 years ago
parent
commit
73546e1b81
No known key found for this signature in database GPG Key ID: 6A6914DAFBEA00DA
  1. 4
      contrib/bitcoin-cli.bash-completion

4
contrib/bitcoin-cli.bash-completion

@ -82,7 +82,7 @@ _zcash_cli() {
COMPREPLY=( $( compgen -W "add remove" -- "$cur" ) )
return 0
;;
fundrawtransaction|getblock|getblockheader|getmempoolancestors|getmempooldescendants|getrawtransaction|gettransaction|listaccounts|listreceivedbyaccount|listreceivedbyaddress|sendrawtransaction)
fundrawtransaction|getblock|getblockheader|getmempoolancestors|getmempooldescendants|getrawtransaction|gettransaction|listaccounts|listreceivedbyaccount|listreceivedbyaddress|sendrawtransaction|z_importkey)
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
return 0
;;
@ -94,7 +94,7 @@ _zcash_cli() {
fi
case "$prev" in
backupwallet|dumpwallet|importwallet)
backupwallet|dumpwallet|importwallet|z_exportwallet|z_importwallet)
_filedir
return 0
;;

Loading…
Cancel
Save