chiark / gitweb /
zsh-completion: add missing completions for coredumpctl
authorRonny Chevalier <chevalier.ronny@gmail.com>
Mon, 12 Jan 2015 20:26:27 +0000 (21:26 +0100)
committerRonny Chevalier <chevalier.ronny@gmail.com>
Mon, 12 Jan 2015 20:26:27 +0000 (21:26 +0100)
shell-completion/zsh/_coredumpctl

index d13bc703a808334af22354f79503e2ab32fbd5d1..833c7e2bb1b96a7e262eacdb01607be1e99b11bb 100644 (file)
@@ -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'