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

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