Add Zcash RPC commands to CLI argument completion

This commit is contained in:
Jack Grigg 2016-12-02 17:41:37 +13:00
parent a01daac728
commit 73546e1b81
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with 2 additions and 2 deletions

View File

@ -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
;;