Updates in bash autocompletions
Hi, I did ./check-undocumented.sh -b (my script just submitted) and checked the results. Cheers.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
001a247324
commit
b4f91f2ba3
@@ -34,7 +34,7 @@ _localectl() {
|
||||
local i verb comps locale_vals
|
||||
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
local OPTS='-h --help --version --no-convert --no-pager --no-ask-password
|
||||
-H --host'
|
||||
-H --host --machine'
|
||||
|
||||
if __contains_word "$prev" $OPTS; then
|
||||
case $prev in
|
||||
|
||||
Reference in New Issue
Block a user