]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: add minimal support fpr 'set-property' command 1775/head
authorFranck Bui <fbui@suse.com>
Tue, 3 Nov 2015 17:42:10 +0000 (18:42 +0100)
committerFranck Bui <fbui@suse.com>
Wed, 4 Nov 2015 07:42:16 +0000 (08:42 +0100)
'set-property' was missing from the list of known command.

Also a list of unit names will be proposed as next argument.

However no support on property names is provided since it would
require a hard coded list of them.

shell-completion/bash/systemctl.in

index cfe003544d1f41329588ce1b1bc22d4badd99282..f9a4f2265ee31aa394033fa8de357c6e4e12c468 100644 (file)
@@ -161,7 +161,7 @@ _systemctl () {
         fi
 
         local -A VERBS=(
-                [ALL_UNITS]='is-active is-failed is-enabled status show cat mask preset help list-dependencies edit'
+                [ALL_UNITS]='is-active is-failed is-enabled status show cat mask preset help list-dependencies edit set-property'
             [ENABLED_UNITS]='disable'
            [DISABLED_UNITS]='enable'
         [REENABLABLE_UNITS]='reenable'