mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
zsh-completion: add missing completions for coredumpctl
This commit is contained in:
parent
40d6f6a35e
commit
720e0be0f0
@ -4,6 +4,7 @@ _coredumpctl_command(){
|
||||
local -a _coredumpctl_cmds
|
||||
_coredumpctl_cmds=(
|
||||
'list:List available coredumps'
|
||||
'info:Show detailed information about one or more coredumps'
|
||||
'dump:Print coredump to stdout'
|
||||
'gdb:Start gdb on a coredump'
|
||||
)
|
||||
@ -30,7 +31,9 @@ _coredumpctl_command(){
|
||||
_arguments \
|
||||
{-o+,--output=}'[Write output to FILE]:output file:_files' \
|
||||
{-F+,--field=}'[Show field in list output]:field' \
|
||||
'-1[Show information about most recent entry only]' \
|
||||
'--no-pager[Do not pipe output into a pager]' \
|
||||
'--no-legend[Do not print the column headers]' \
|
||||
{-h,--help}'[Show this help]' \
|
||||
'--version[Show package version]' \
|
||||
'*::coredumpctl commands:_coredumpctl_command'
|
||||
|
Loading…
Reference in New Issue
Block a user