Delete -rootcertificates from bash completion script.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2017-03-10 03:49:04 +00:00
parent 07cf426404
commit 6b41a88d20
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
# bash programmable completion for bitcoind(1) and bitcoin-qt(1)
# Copyright (c) 2012-2016 The Bitcoin Core developers
# bash programmable completion for zcashd(1)
# Copyright (c) 2012-2017 The Bitcoin Core developers
# Copyright (c) 2016-2017 The Zcash developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -7,7 +8,7 @@ _zcashd() {
local cur prev words=() cword
local bitcoind
# save and use original argument to invoke bitcoind for -help
# save and use original argument to invoke zcashd for -help
# it might not be in $PATH
bitcoind="$1"
@ -15,7 +16,7 @@ _zcashd() {
_get_comp_words_by_ref -n = cur prev words cword
case "$cur" in
-conf=*|-pid=*|-loadblock=*|-rootcertificates=*|-rpccookiefile=*|-wallet=*|-rpcsslcertificatechainfile=*|-rpcsslprivatekeyfile=*)
-conf=*|-pid=*|-loadblock=*|-rpccookiefile=*|-wallet=*|-rpcsslcertificatechainfile=*|-rpcsslprivatekeyfile=*)
cur="${cur#*=}"
_filedir
return 0