summaryrefslogtreecommitdiff
path: root/src/grp-utils/systemd-notify/systemd-notify.completion.zsh
blob: 910ddfa34ce46ebddd81a2c4eb42293b50917fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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