Fixes an error in `zcash-cli help` following the removal of `dumpwallet`.

This commit is contained in:
Kris Nuttycombe 2023-01-25 16:27:43 -07:00
parent a1589ac994
commit 25c62d804a
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ _zcash_cli() {
fi
case "$prev" in
backupwallet|dumpwallet|importwallet|z_exportwallet|z_importwallet)
backupwallet|importwallet|z_exportwallet|z_importwallet)
_filedir
return 0
;;

View File

@ -6029,7 +6029,7 @@ static const CRPCCommand commands[] =
{ "wallet", "addmultisigaddress", &addmultisigaddress, true },
{ "wallet", "backupwallet", &backupwallet, true },
{ "wallet", "dumpprivkey", &dumpprivkey, true },
{ "wallet", "dumpwallet", &dumpwallet, true },
{ "hidden", "dumpwallet", &dumpwallet, true },
{ "wallet", "encryptwallet", &encryptwallet, true },
{ "wallet", "getbalance", &getbalance, false },
{ "wallet", "getnewaddress", &getnewaddress, true },