]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: loginctl: add -P option 18542/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Feb 2021 17:50:41 +0000 (02:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Feb 2021 17:51:00 +0000 (02:51 +0900)
shell-completion/bash/loginctl

index ac85519c1088963b2645b25359d7bf7c5a6d9177..f94f191d89e7f8d21396b3b56ec941aac0d73391 100644 (file)
@@ -43,7 +43,7 @@ _loginctl () {
         [STANDALONE]='--all -a --help -h --no-pager --version
                       --no-legend --no-ask-password -l --full --value'
         [ARG]='--host -H --kill-who --property -p --signal -s -M --machine
-                      -n --lines -o --output'
+                      -n --lines -o --output -P'
     )
 
     if __contains_word "$prev" ${OPTS[ARG]}; then
@@ -61,7 +61,7 @@ _loginctl () {
             --machine|-M)
                 comps=$( __get_machines )
                 ;;
-            --property|-p)
+            --property|-p|-P)
                 comps=''
                 ;;
             --output|-o)