summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-01-12 21:43:45 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-01-12 22:13:18 +0100
commit26bd71f06c842585b184c3c2f29376564102232d (patch)
treec1ff51b65d57bac5f66eec597fd3631882942f23
parentc285cb5c559638689e3d9e9894a81574ed69d560 (diff)
zsh-completion: add missing completions for systemd-analyze
-rw-r--r--shell-completion/zsh/_systemd-analyze14
1 files changed, 9 insertions, 5 deletions
diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze
index c101ad0fae..3edf92effe 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'