mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 04:52:36 +02:00
contrib: Remove legacy wallet RPCs from bash completions
These RPCs no longer exist.
This commit is contained in:
parent
5dff04a1bb
commit
de054df6dc
@ -39,7 +39,7 @@ _bitcoin_cli() {
|
|||||||
|
|
||||||
if ((cword > 4)); then
|
if ((cword > 4)); then
|
||||||
case ${words[cword-4]} in
|
case ${words[cword-4]} in
|
||||||
importaddress|listtransactions|setban)
|
listtransactions|setban)
|
||||||
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
@ -52,10 +52,7 @@ _bitcoin_cli() {
|
|||||||
|
|
||||||
if ((cword > 3)); then
|
if ((cword > 3)); then
|
||||||
case ${words[cword-3]} in
|
case ${words[cword-3]} in
|
||||||
addmultisigaddress)
|
getbalance|gettxout|listreceivedbyaddress|listsinceblock)
|
||||||
return 0
|
|
||||||
;;
|
|
||||||
getbalance|gettxout|importaddress|importpubkey|importprivkey|listreceivedbyaddress|listsinceblock)
|
|
||||||
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
@ -80,7 +77,7 @@ _bitcoin_cli() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
backupwallet|dumpwallet|importwallet)
|
backupwallet)
|
||||||
_filedir
|
_filedir
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user