ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
923a60
From caa80561b4acad9d66747ff6eb2b499ea67139e9 Mon Sep 17 00:00:00 2001
923a60
From: Ronny Chevalier <chevalier.ronny@gmail.com>
923a60
Date: Tue, 7 Apr 2015 19:35:13 +0200
923a60
Subject: [PATCH] zsh-completion: update loginctl
923a60
923a60
(cherry picked from commit 8470025541039f39391815b2ac93952003b7eee8)
923a60
923a60
Cherry-picked from: def740b
923a60
Resolves: #1222517
923a60
---
923a60
 shell-completion/zsh/_loginctl | 5 +++--
923a60
 1 file changed, 3 insertions(+), 2 deletions(-)
923a60
923a60
diff --git a/shell-completion/zsh/_loginctl b/shell-completion/zsh/_loginctl
923a60
index 0de66e191f..bd33b66fae 100644
923a60
--- a/shell-completion/zsh/_loginctl
923a60
+++ b/shell-completion/zsh/_loginctl
923a60
@@ -102,10 +102,11 @@ _arguments -s \
923a60
     '--kill-who=[Who to send signal to]:killwho:(main control all)' \
923a60
     {-s+,--signal=}'[Which signal to send]:signal:_signals' \
923a60
     {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
923a60
-    {-M+,--machine=}'[Operate on local container]:machine' \
923a60
-    {-P,--privileged}'[Acquire privileges before execution]' \
923a60
+    {-M+,--machine=}'[Operate on local container]:machine:_sd_machines' \
923a60
     {-l,--full}'[Do not ellipsize output]' \
923a60
     '--no-pager[Do not pipe output into a pager]' \
923a60
     '--no-legend[Do not show the headers and footers]' \
923a60
     '--no-ask-password[Do not ask for system passwords]' \
923a60
+    {-n+,--lines=}'[Number of journal entries to show]' \
923a60
+    {-o+,--output=}'[Change journal output mode]:output modes:_sd_outputmodes' \
923a60
     '*::loginctl command:_loginctl_command'