ryantimwilson / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone
1ff636
From 6cc26ef0b749f56f184faacde210c6674ab83cf4 Mon Sep 17 00:00:00 2001
1ff636
From: Ronny Chevalier <chevalier.ronny@gmail.com>
1ff636
Date: Tue, 7 Apr 2015 19:35:57 +0200
1ff636
Subject: [PATCH] zsh-completion: add missing -M completion for journalctl
1ff636
1ff636
(cherry picked from commit b178d279d92fdf002b18dd2f06f2353af14d0a6e)
1ff636
1ff636
Cherry-picked from: 6ff6bbf
1ff636
Resolves: #1222517
1ff636
---
1ff636
 shell-completion/zsh/_journalctl | 1 +
1ff636
 1 file changed, 1 insertion(+)
1ff636
1ff636
diff --git a/shell-completion/zsh/_journalctl b/shell-completion/zsh/_journalctl
c62b8e
index a469bbc9a7..863348e050 100644
1ff636
--- a/shell-completion/zsh/_journalctl
1ff636
+++ b/shell-completion/zsh/_journalctl
1ff636
@@ -76,6 +76,7 @@ _arguments -s \
1ff636
     {-F,--field=}'[List all values a certain field takes]:Fields:_list_fields' \
1ff636
     '--system[Show system and kernel messages]' \
1ff636
     '--user[Show messages from user services]' \
1ff636
+    {-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
1ff636
     {-D+,--directory=}'[Show journal files from directory]:directories:_directories' \
1ff636
     '--file=[Operate on specified journal files]:file:_files' \
1ff636
     '--root=[Operate on catalog hierarchy under specified directory]:directories:_directories' \