]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
zsh-completion: update loginctl
authorRonny Chevalier <chevalier.ronny@gmail.com>
Tue, 7 Apr 2015 17:35:13 +0000 (19:35 +0200)
committerRonny Chevalier <chevalier.ronny@gmail.com>
Wed, 8 Apr 2015 00:42:50 +0000 (02:42 +0200)
shell-completion/zsh/_loginctl

index 0de66e191fcf474c116323462bff8f5d2ca7c890..bd33b66faede96f22069831b4c2077e3fa332a40 100644 (file)
@@ -102,10 +102,11 @@ _arguments -s \
     '--kill-who=[Who to send signal to]:killwho:(main control all)' \
     {-s+,--signal=}'[Which signal to send]:signal:_signals' \
     {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
-    {-M+,--machine=}'[Operate on local container]:machine' \
-    {-P,--privileged}'[Acquire privileges before execution]' \
+    {-M+,--machine=}'[Operate on local container]:machine:_sd_machines' \
     {-l,--full}'[Do not ellipsize output]' \
     '--no-pager[Do not pipe output into a pager]' \
     '--no-legend[Do not show the headers and footers]' \
     '--no-ask-password[Do not ask for system passwords]' \
+    {-n+,--lines=}'[Number of journal entries to show]' \
+    {-o+,--output=}'[Change journal output mode]:output modes:_sd_outputmodes' \
     '*::loginctl command:_loginctl_command'