1
0
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:
Yu Watanabe 2019-05-25 00:40:38 +09:00
parent a459b24f7e
commit 94a58cc1f9

View File

@ -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]=''
) )