]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: add missing option to systemd-cat
authorArthur Zamarin <arthurzam@gentoo.org>
Thu, 21 Dec 2023 21:07:05 +0000 (23:07 +0200)
committerArthur Zamarin <arthurzam@gentoo.org>
Thu, 21 Dec 2023 21:07:05 +0000 (23:07 +0200)
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
shell-completion/bash/systemd-cat

index b209140804d135d1272932b046dbd49bee32a6e8..e1e600217289877c5c87550f8002b690793b3135 100644 (file)
@@ -30,7 +30,7 @@ _systemd_cat() {
 
     local -A OPTS=(
         [STANDALONE]='-h --help --version'
-        [ARG]='-t --identifier -p --priority --level-prefix'
+        [ARG]='-t --identifier -p --priority --stderr-priority --level-prefix'
     )
 
     _init_completion || return
@@ -40,7 +40,7 @@ _systemd_cat() {
             --identifier|-t)
                 comps=''
                 ;;
-            --priority|-p)
+            --priority|-p|--stderr-priority)
                 comps='emerg alert crit err warning notice info debug'
                 ;;
             --level-prefix)