summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-01-12 21:26:27 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-01-12 21:26:27 +0100
commit720e0be0f00f4a7fee808d1cf60db43970900588 (patch)
treebc00f2cf61e6c6dbad1d70c065d6f9bd3288f799
parent40d6f6a35e7c66ccb8ea060b4539aa2565b4ebf9 (diff)
zsh-completion: add missing completions for coredumpctl
-rw-r--r--shell-completion/zsh/_coredumpctl3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl
index d13bc703a8..833c7e2bb1 100644
--- 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'
+ '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'