3 (( $+functions[_bootctl_command] )) || _bootctl_command()
7 "status:Show current firmware and boot settings"
9 if (( CURRENT == 1 )); then
10 _describe -t commands 'bootctl command' _bootctl_cmds || compadd "$@"
12 local curcontext="$curcontext"
13 cmd="${${_bootctl_cmds[(r)$words[1]:*]%%:*}}"
14 if (( $+functions[_bootctl_$cmd] )); then
17 _message "no more options"
23 {-h,--help}'[Prints a short help text and exits.]' \
24 '--version[Prints a short version string and exits.]' \
25 '*::bootctl command:_bootctl_command'