[systemd-commits] 4 commits - shell-completion/zsh

Ronny Chevalier rchevalier at kemper.freedesktop.org
Mon Jan 12 13:29:31 PST 2015


 shell-completion/zsh/_systemd-analyze  |   14 +++++++++-----
 shell-completion/zsh/_systemd-run      |   13 +++++++++++++
 shell-completion/zsh/_systemd-tmpfiles |    5 ++++-
 shell-completion/zsh/_timedatectl      |    1 +
 4 files changed, 27 insertions(+), 6 deletions(-)

New commits:
commit ee14023fd5720959d3ae22b23ed663efc42608fa
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date:   Mon Jan 12 22:19:34 2015 +0100

    zsh-completion: add missing completions for systemd-tmpfiles

diff --git a/shell-completion/zsh/_systemd-tmpfiles b/shell-completion/zsh/_systemd-tmpfiles
index 4913ded..6ff02e5 100644
--- a/shell-completion/zsh/_systemd-tmpfiles
+++ b/shell-completion/zsh/_systemd-tmpfiles
@@ -1,10 +1,13 @@
 #compdef systemd-tmpfiles
 
 _arguments \
+    {-h,--help}'[Show help]' \
+    '--version[Show package version]' \
     '--create[Create, set ownership/permissions based on the config files.]' \
     '--clean[Clean up all files and directories with an age parameter configured.]' \
     '--remove[All files and directories marked with r, R in the configuration files are removed.]' \
+    '--boot[Execute actions only safe at boot]' \
     '--prefix=[Only apply rules that apply to paths with the specified prefix.]' \
     '--exclude-prefix=[Ignore rules that apply to paths with the specified prefix.]' \
-    '--help[Prints a short help text and exits.]' \
+    '--root=[Operate on an alternate filesystem root]:directory:_directories' \
     '*::files:_files'

commit a80cea68616df5991ed64ed93f956d4377974a21
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date:   Mon Jan 12 22:09:29 2015 +0100

    zsh-completion: add missing completions for systemd-run

diff --git a/shell-completion/zsh/_systemd-run b/shell-completion/zsh/_systemd-run
index 9bb7700..8d6957f 100644
--- a/shell-completion/zsh/_systemd-run
+++ b/shell-completion/zsh/_systemd-run
@@ -26,8 +26,21 @@ _arguments \
         {-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
         '--scope[Run this as scope rather than service]' \
         '--unit=[Run under the specified unit name]:unit name' \
+        {-p+,--property=}'[Set unit property]:NAME=VALUE' \
         '--description=[Description for unit]:description' \
         '--slice=[Run in the specified slice]:slices:__slices' \
         {-r,--remain-after-exit}'[Leave service around until explicitly stopped]' \
         '--send-sighup[Send SIGHUP when terminating]' \
+        '--service-type=[Service type]:type:(simple forking oneshot dbus notify idle)' \
+        '--uid=[Run as system user]:user:_users' \
+        '--gid=[Run as system group]:group:_groups' \
+        '--nice=[Nice level]:nice level' \
+        '--setenv=[Set environment]:NAME=VALUE' \
+        '--on-active=[Run after SEC seconds]:SEC' \
+        '--on-boot=[Run after SEC seconds from machine was booted up]:SEC' \
+        '--on-statup=[Run after SEC seconds from systemd was first started]:SEC' \
+        '--on-unit-active=[Run after SEC seconds from the last activation]:SEC' \
+        '--on-unit-inactive=[Run after SEC seconds from the last deactivation]:SEC' \
+        '--on-calendar=[Realtime timer]:SPEC' \
+        '--timer-property=[Set timer unit property]:NAME=VALUE' \
         '*::command:_command'

commit 26bd71f06c842585b184c3c2f29376564102232d
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date:   Mon Jan 12 21:43:45 2015 +0100

    zsh-completion: add missing completions for systemd-analyze

diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze
index c101ad0..3edf92e 100644
--- a/shell-completion/zsh/_systemd-analyze
+++ b/shell-completion/zsh/_systemd-analyze
@@ -42,13 +42,17 @@ _systemd_analyze_command(){
 }
 
 _arguments \
-    {-h,--help}'[Show help text.]' \
-    '--system[Operate on system systemd instance.]' \
-    '--user[Operate on user systemd instance.]' \
-    '--no-pager[Do not user pager.]' \
-    '--no-man[Do not check man pages.]' \
+    {-h,--help}'[Show help text]' \
+    '--version[Show package version]' \
+    '--system[Operate on system systemd instance]' \
+    '--user[Operate on user systemd instance]' \
+    '--no-pager[Do not pipe output into a pager]' \
+    '--man=[Do (not) check for exietnce of man pages]:boolean:(1 0)' \
     '--order[When generating graph for dot, show only order]' \
     '--require[When generating graph for dot, show only requirement]' \
+    '--fuzz=[When printing the tree of the critical chain, print also services, which finished TIMESPAN earlier, than the latest in the branch]:TIMESPAN' \
+    '--from-pattern=[When generating a dependency graph, filter only origins]:GLOB' \
+    '--to-pattern=[When generating a dependency graph, filter only destinations]:GLOB' \
     {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
     {-M+,--machine=}'[Operate on local container]:machine' \
     '*::systemd-analyze commands:_systemd_analyze_command'

commit c285cb5c559638689e3d9e9894a81574ed69d560
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date:   Mon Jan 12 21:31:45 2015 +0100

    zsh-completion: add missing -M completion for timedatectl

diff --git a/shell-completion/zsh/_timedatectl b/shell-completion/zsh/_timedatectl
index 987c2de..dfdcfeb 100644
--- a/shell-completion/zsh/_timedatectl
+++ b/shell-completion/zsh/_timedatectl
@@ -62,4 +62,5 @@ _arguments -s \
     '--no-pager[Do not pipe output into a pager]' \
     '--no-ask-password[Do not prompt for password]' \
     {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
+    {-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
     '*::timedatectl commands:_timedatectl_command'



More information about the systemd-commits mailing list