Fix bitcoin-cli completion
- fix using global variable issue
This commit is contained in:
parent
68549429e8
commit
5021b01fd3
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
_bitcoin-cli() {
|
_bitcoin-cli() {
|
||||||
local context state line curcontext="$curcontext"
|
local context state line curcontext="$curcontext"
|
||||||
|
local ret=1
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
-?'[This help message]' \
|
-?'[This help message]' \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue