]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion: systemctl: add --no-warn 25661/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 Dec 2022 00:05:11 +0000 (09:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 12 Jan 2023 02:51:19 +0000 (11:51 +0900)
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in

index f935960c77e0bcb52c063ca5afddeaeaebf75cfe..3c64467e2fc45f44b5dd630e7aa2d032273d6eec 100644 (file)
@@ -128,7 +128,7 @@ _systemctl () {
         [STANDALONE]='--all -a --reverse --after --before --defaults --force -f --full -l --global
                              --help -h --no-ask-password --no-block --legend=no --no-pager --no-reload --no-wall --now
                              --quiet -q --system --user --version --runtime --recursive -r --firmware-setup
-                             --show-types --plain --failed --value --fail --dry-run --wait'
+                             --show-types --plain --failed --value --fail --dry-run --wait --no-warn'
         [ARG]='--host -H --kill-whom --property -p --signal -s --type -t --state --job-mode --root
                              --preset-mode -n --lines -o --output -M --machine --message --timestamp --check-inhibitors'
     )
index d4717430305c2e7c81b8f36c77ed47c0cf8c7b32..2811582236dd69fb976c921eccf8d213369d66b4 100644 (file)
@@ -480,6 +480,7 @@ _arguments -s \
     '--show-types[When showing sockets, show socket type]' \
     '--check-inhibitors[Specify if inhibitors should be checked]:mode:_systemctl_check_inhibitors' \
     {-q,--quiet}'[Suppress output]' \
+    '--no-warn[Suppress several warnings shown by default]' \
     '--no-block[Do not wait until operation finished]' \
     '--legend=no[Do not print a legend, i.e. the column headers and the footer with hints]' \
     '--no-pager[Do not pipe output into a pager]' \