summaryrefslogtreecommitdiff
path: root/src/grp-utils/systemd-notify/systemd-notify.completion.zsh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:23:54 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:23:54 -0400
commit0cfc9fe4b47d4888b6c0d88a507ffad6dc22a1bd (patch)
treef68ab9c3653a911dab210251c1cf88b98be3120a /src/grp-utils/systemd-notify/systemd-notify.completion.zsh
parent075426989bd00ee7af444ad991dfd01f3e5d50c5 (diff)
./move.sh
Diffstat (limited to 'src/grp-utils/systemd-notify/systemd-notify.completion.zsh')
-rw-r--r--src/grp-utils/systemd-notify/systemd-notify.completion.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/grp-utils/systemd-notify/systemd-notify.completion.zsh b/src/grp-utils/systemd-notify/systemd-notify.completion.zsh
new file mode 100644
index 0000000000..910ddfa34c
--- /dev/null
+++ b/src/grp-utils/systemd-notify/systemd-notify.completion.zsh
@@ -0,0 +1,12 @@
+#compdef systemd-notify
+
+local curcontext="$curcontext" state lstate line
+_arguments \
+ {-h,--help}'[Show this help]' \
+ '--version[Show package version]' \
+ '--ready[Inform the init system about service start-up completion.]' \
+ '--pid=[Inform the init system about the main PID of the daemon]:daemon main PID:_pids' \
+ '--status=[Send a free-form status string for the daemon to the init systemd]:status string:' \
+ '--booted[Returns 0 if the system was booted up with systemd]'
+
+#vim: set ft=zsh sw=4 ts=4 et