bash-completion: networkctl: support --full and --lines

This commit is contained in:
Yu Watanabe
2020-01-09 15:43:18 +01:00
committed by Lennart Poettering
parent 404308486a
commit 0ca1926ec3
+2 -2
View File
@@ -32,8 +32,8 @@ _networkctl() {
local i verb comps
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local -A OPTS=(
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats'
[ARG]=''
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats -l --full'
[ARG]='-n --lines'
)
local -A VERBS=(