)
local -A VERBS=(
- [STANDALONE]='time blame unit-files unit-paths exit-status capability compare-versions calendar timestamp timespan pcrs srk'
+ [STANDALONE]='time blame unit-files unit-paths exit-status compare-versions calendar timestamp timespan pcrs srk'
[CRITICAL_CHAIN]='critical-chain'
[DOT]='dot'
[DUMP]='dump'
[PLOT]='plot'
[ARCHITECTURES]='architectures'
[FDSTORE]='fdstore'
+ [CAPABILITY]='capability'
)
local CONFIGS='locale.conf systemd/bootchart.conf systemd/coredump.conf systemd/journald.conf
else
comps=$( __get_services $mode )
fi
+
+ elif __contains_word "$verb" ${VERBS[CAPABILITY]}; then
+ if [[ $cur = -* ]]; then
+ comps='--help --version --no-pager --json=off --json=pretty --json=short -m --mask'
+ fi
fi
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )