51b11d
From 995cdebf10e2ec67f4bdfcc154661931192e9290 Mon Sep 17 00:00:00 2001
51b11d
From: Dave Reisner <dreisner@archlinux.org>
51b11d
Date: Thu, 19 Sep 2013 18:00:36 -0400
51b11d
Subject: [PATCH] completion/systemctl: add missing list-sockets verb
51b11d
51b11d
Conflicts:
51b11d
	shell-completion/bash/systemctl
51b11d
	shell-completion/zsh/_systemctl
51b11d
---
51b11d
 shell-completion/bash/systemctl             | 2 +-
51b11d
 shell-completion/systemd-zsh-completion.zsh | 1 +
51b11d
 2 files changed, 2 insertions(+), 1 deletion(-)
51b11d
51b11d
diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl
674ca7
index 191b8d13ec..f1ec99bdd2 100644
51b11d
--- a/shell-completion/bash/systemctl
51b11d
+++ b/shell-completion/bash/systemctl
51b11d
@@ -133,7 +133,7 @@ _systemctl () {
51b11d
                      [ENVS]='set-environment unset-environment'
51b11d
                [STANDALONE]='daemon-reexec daemon-reload default dump
51b11d
                              emergency exit halt hibernate hybrid-sleep kexec list-jobs
51b11d
-                             list-units list-unit-files poweroff reboot rescue
51b11d
+                             list-sockets list-units list-unit-files poweroff reboot rescue
51b11d
                              show-environment suspend'
51b11d
                      [NAME]='snapshot load'
51b11d
                      [FILE]='link'
51b11d
diff --git a/shell-completion/systemd-zsh-completion.zsh b/shell-completion/systemd-zsh-completion.zsh
674ca7
index 411646ea59..ff15da6d37 100644
51b11d
--- a/shell-completion/systemd-zsh-completion.zsh
51b11d
+++ b/shell-completion/systemd-zsh-completion.zsh
51b11d
@@ -328,6 +328,7 @@ _outputmodes() {
51b11d
 {
51b11d
   local -a _systemctl_cmds
51b11d
   _systemctl_cmds=(
51b11d
+    "list-sockets:List sockets"
51b11d
     "list-units:List units"
51b11d
     "start:Start (activate) one or more units"
51b11d
     "stop:Stop (deactivate) one or more units"