summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-09-19 18:00:36 -0400
committerDave Reisner <dreisner@archlinux.org>2013-09-20 14:48:43 -0400
commitd808ca6414cd29d56507bed78fce2d26c6b00f15 (patch)
tree8b618d2d93a0877bb9eb40284f91e86eea502028
parent6c605695506cc55fd77241308540c5e1a15d807c (diff)
completion/systemctl: add missing list-sockets verb
-rw-r--r--shell-completion/bash/systemctl2
-rw-r--r--shell-completion/zsh/_systemctl1
2 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl
index 5346eef65b..e335ee871c 100644
--- a/shell-completion/bash/systemctl
+++ b/shell-completion/bash/systemctl
@@ -139,7 +139,7 @@ _systemctl () {
[ENVS]='set-environment unset-environment'
[STANDALONE]='daemon-reexec daemon-reload default dump
emergency exit halt hibernate hybrid-sleep kexec list-jobs
- list-units list-unit-files poweroff reboot rescue
+ list-sockets list-units list-unit-files poweroff reboot rescue
show-environment suspend get-default'
[NAME]='snapshot load'
[FILE]='link'
diff --git a/shell-completion/zsh/_systemctl b/shell-completion/zsh/_systemctl
index 3d5f2ffeeb..298e97ed61 100644
--- a/shell-completion/zsh/_systemctl
+++ b/shell-completion/zsh/_systemctl
@@ -4,6 +4,7 @@
{
local -a _systemctl_cmds
_systemctl_cmds=(
+ "list-sockets:List sockets"
"list-units:List units"
"start:Start (activate) one or more units"
"stop:Stop (deactivate) one or more units"