diff options
Diffstat (limited to 'shell-completion/bash')
-rw-r--r-- | shell-completion/bash/journalctl | 7 | ||||
-rw-r--r-- | shell-completion/bash/systemctl.in | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl index a999a10df1..c90a114497 100644 --- a/shell-completion/bash/journalctl +++ b/shell-completion/bash/journalctl @@ -42,10 +42,10 @@ _journalctl() { --version --list-catalog --update-catalog --list-boots --show-cursor --dmesg -k --pager-end -e -r --reverse --utc -x --catalog --no-full --force --dump-catalog - --flush --rotate --sync' + --flush --rotate --sync --no-hostname' [ARG]='-b --boot --this-boot -D --directory --file -F --field -M --machine -o --output -u --unit --user-unit -p --priority - --vacuum-size --vacuum-time' + --vacuum-size --vacuum-time --vacuum-files' [ARGUNKNOWN]='-c --cursor --interval -n --lines -S --since -U --until --after-cursor --verify-key -t --identifier --root' @@ -82,6 +82,9 @@ _journalctl() { --user-unit) comps=$(journalctl -F '_SYSTEMD_USER_UNIT' 2>/dev/null) ;; + --identifier|-t) + comps=$(journalctl -F 'SYSLOG_IDENTIFIER' 2>/dev/null) + ;; *) return 0 ;; diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index 34589e2888..e4ccad8799 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -124,9 +124,9 @@ _systemctl () { local -A OPTS=( [STANDALONE]='--all -a --reverse --after --before --defaults --force -f --full -l --global - --help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall + --help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall --now --quiet -q --privileged -P --system --user --version --runtime --recursive -r --firmware-setup - --show-types -i --ignore-inhibitors --plain' + --show-types -i --ignore-inhibitors --plain --failed' [ARG]='--host -H --kill-who --property -p --signal -s --type -t --state --job-mode --root --preset-mode -n --lines -o --output -M --machine' ) |