diff --git a/contrib/completions/bash/bitcoin-cli.bash b/contrib/completions/bash/bitcoin-cli.bash index b04fdbcb0e8..3018d076c61 100644 --- a/contrib/completions/bash/bitcoin-cli.bash +++ b/contrib/completions/bash/bitcoin-cli.bash @@ -39,7 +39,7 @@ _bitcoin_cli() { if ((cword > 4)); then case ${words[cword-4]} in - importaddress|listtransactions|setban) + listtransactions|setban) COMPREPLY=( $( compgen -W "true false" -- "$cur" ) ) return 0 ;; @@ -52,10 +52,7 @@ _bitcoin_cli() { if ((cword > 3)); then case ${words[cword-3]} in - addmultisigaddress) - return 0 - ;; - getbalance|gettxout|importaddress|importpubkey|importprivkey|listreceivedbyaddress|listsinceblock) + getbalance|gettxout|listreceivedbyaddress|listsinceblock) COMPREPLY=( $( compgen -W "true false" -- "$cur" ) ) return 0 ;; @@ -80,7 +77,7 @@ _bitcoin_cli() { fi case "$prev" in - backupwallet|dumpwallet|importwallet) + backupwallet) _filedir return 0 ;;