diff options
Diffstat (limited to 'shell-completion/bash/systemd-analyze')
-rw-r--r-- | shell-completion/bash/systemd-analyze | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index 7a5f46ba1d..92ff13d316 100644 --- a/shell-completion/bash/systemd-analyze +++ b/shell-completion/bash/systemd-analyze @@ -45,6 +45,7 @@ _systemd_analyze() { [DOT]='dot' [LOG_LEVEL]='set-log-level' [VERIFY]='verify' + [SECCOMP_FILTER]='syscall-filter' ) _init_completion || return @@ -100,6 +101,11 @@ _systemd_analyze() { comps='debug info notice warning err crit alert emerg' fi + elif __contains_word "$verb" ${VERBS[SECCOMP_FILTER]}; then + if [[ $cur = -* ]]; then + comps='--help --version' + fi + elif __contains_word "$verb" ${VERBS[VERIFY]}; then if [[ $cur = -* ]]; then comps='--help --version --system --user --man' |