chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zsh-completion: add missing completions for coredumpctl
[elogind.git]
/
shell-completion
/
zsh
/
_coredumpctl
diff --git
a/shell-completion/zsh/_coredumpctl
b/shell-completion/zsh/_coredumpctl
index d13bc703a808334af22354f79503e2ab32fbd5d1..833c7e2bb1b96a7e262eacdb01607be1e99b11bb 100644
(file)
--- a/
shell-completion/zsh/_coredumpctl
+++ b/
shell-completion/zsh/_coredumpctl
@@
-4,6
+4,7
@@
_coredumpctl_command(){
local -a _coredumpctl_cmds
_coredumpctl_cmds=(
'list:List available coredumps'
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'
)
'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' \
_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-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'
{-h,--help}'[Show this help]' \
'--version[Show package version]' \
'*::coredumpctl commands:_coredumpctl_command'