summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-12-21 22:24:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-12-21 22:24:45 +0000
commit1ea6009209a7aae69188d70fa3cb7d260346f059 (patch)
treef57e0baeeda9632ba5cf5080d0ff3db32deb8070
parent81cb361d73fc3d9700d07b8b2053ae3ae226b2be (diff)
downloadzsh-1ea6009209a7aae69188d70fa3cb7d260346f059.tar.gz
zsh-1ea6009209a7aae69188d70fa3cb7d260346f059.tar.xz
zsh-1ea6009209a7aae69188d70fa3cb7d260346f059.zip
T.C. Hollingsworth: 30036: new systemctl argument completion
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_systemctl6
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 42e6c811c..4298f83d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-21  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* T.C. Hollingsworth: 30036: Completion/Unix/Command/_systemctl:
+	new arguments.
+
 2011-12-20  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 30033: Src/Zle/zle_keymap.c: silence valgrind warnings about
@@ -15781,5 +15786,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5546 $
+* $Revision: 1.5547 $
 *****************************************************
diff --git a/Completion/Unix/Command/_systemctl b/Completion/Unix/Command/_systemctl
index 69adcf775..3f54092a1 100644
--- a/Completion/Unix/Command/_systemctl
+++ b/Completion/Unix/Command/_systemctl
@@ -43,6 +43,7 @@ _systemctl()
     '--global[Enable/disable unit files globally]' \
     {-f,--force}'[When enabling unit files, override existing symlinks. When shutting down, execute action immediately]' \
     '--defaults[When disabling unit files, remove default symlinks only]' \
+    '--root=[Enable unit files in the specified root directory]:directory:_directories' \
     '*::systemctl command:_systemctl_command'
 }
 
@@ -73,8 +74,13 @@ _hosts_or_user_at_host()
     "status:Show runtime status of one or more units"
     "show:Show properties of one or more units/jobs or the manager"
     "reset-failed:Reset failed state for all, one, or more units"
+    "list-unit-files:List installed unit files"
     "enable:Enable one or more unit files"
     "disable:Disable one or more unit files"
+    "preset:Enable/disable one or more unit files based on preset configuration"
+    "mask:Mask one or more units"
+    "unmask:Unmask one or more units"
+    "link:Link one or more units into the search path"
     "is-enabled:Check whether unit files are enabled"
     "load:Load one or more units"
     "list-jobs:List jobs"