zsh-completion: add s-a critical-chain

parent a432cb69
......@@ -294,11 +294,13 @@ _systemd_inhibit_command(){
local -a _systemd_analyze_cmds
# Descriptions taken from systemd-analyze --help.
'time:Print the time taken to start'
'blame:prints a list of all running units, ordered by the time they took to initialize'
'plot:prints an SVG graphic detailing which system services have been started at what time'
'dot:Dump dependency graph for dot(1)'
'time:Print time spent in the kernel before reaching userspace'
'blame:Print list of running units ordered by time to init'
'critical-chain:Print a tree of the time critical chain of units'
'plot:Output SVG graphic showing service initialization'
'dot:Dump dependency graph (in dot(1) format)'
if (( CURRENT == 1 )); then
......@@ -1137,6 +1137,10 @@ static void analyze_help(void)
" plot Output SVG graphic showing service initialization\n"
" dot Dump dependency graph (in dot(1) format)\n\n",
/* When updating this list, including descriptions, apply
* changes to shell-completion/bash/systemd and
* shell-completion/systemd-zsh-completion.zsh too. */
static int parse_argv(int argc, char *argv[])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment