Add a missing option to scripts/bash-completion.sh.
This commit is contained in:
parent
fe8be54005
commit
20907ad833
|
@ -5,7 +5,7 @@ _ybconAutoComplete() {
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
current="${COMP_WORDS[COMP_CWORD]}"
|
current="${COMP_WORDS[COMP_CWORD]}"
|
||||||
previous="${COMP_WORDS[COMP_CWORD-1]}"
|
previous="${COMP_WORDS[COMP_CWORD-1]}"
|
||||||
options='--help --printresult -p'
|
options='-h -p --help --printresult'
|
||||||
if [[ "${current}" == -* ]]; then
|
if [[ "${current}" == -* ]]; then
|
||||||
COMPREPLY=("$(compgen -W "$options" -- "$current")")
|
COMPREPLY=("$(compgen -W "$options" -- "$current")")
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue