Add Zcash RPC commands to CLI argument completion
This commit is contained in:
parent
a01daac728
commit
73546e1b81
|
@ -82,7 +82,7 @@ _zcash_cli() {
|
||||||
COMPREPLY=( $( compgen -W "add remove" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "add remove" -- "$cur" ) )
|
||||||
return 0
|
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" ) )
|
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
@ -94,7 +94,7 @@ _zcash_cli() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
backupwallet|dumpwallet|importwallet)
|
backupwallet|dumpwallet|importwallet|z_exportwallet|z_importwallet)
|
||||||
_filedir
|
_filedir
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue