mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
bash-completion: support --stats/-s option of networkctl
This commit is contained in:
parent
a459b24f7e
commit
94a58cc1f9
@ -32,7 +32,7 @@ _networkctl() {
|
|||||||
local i verb comps
|
local i verb comps
|
||||||
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||||
local -A OPTS=(
|
local -A OPTS=(
|
||||||
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend'
|
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats'
|
||||||
[ARG]=''
|
[ARG]=''
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user