summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2018-08-16 18:23:16 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-08-20 09:43:44 +0200
commit53956faf74b149479137437ea6e1ca2808af174b (patch)
tree548b207f87534dcb85faac6b6e4800c9ad9993f9 /shell-completion/zsh
parent1e190dfd5bb95036f937ef1dc46f43eb0a146612 (diff)
downloadsystemd-53956faf74b149479137437ea6e1ca2808af174b.tar.gz
shell-completion: replace "gdb" verb with "debug" for coredumpctl
Also offer --debugger option. Both to reflect changes in v239.
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r--shell-completion/zsh/_coredumpctl3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl
index f727820660..cf24f5b361 100644
--- a/shell-completion/zsh/_coredumpctl
+++ b/shell-completion/zsh/_coredumpctl
@@ -7,7 +7,7 @@ _coredumpctl_command(){
'list:List available coredumps'
'info:Show detailed information about one or more coredumps'
'dump:Print coredump to stdout'
- 'gdb:Start gdb on a coredump'
+ 'debug:Start debugger (gdb) on a coredump'
)
if (( CURRENT == 1 )); then
_describe -t commands 'coredumpctl command' _coredumpctl_cmds
@@ -39,4 +39,5 @@ _arguments \
'--no-legend[Do not print the column headers]' \
{-h,--help}'[Show this help]' \
'--version[Show package version]' \
+ '--debugger=[Use the given debugger]' \
'*::coredumpctl commands:_coredumpctl_command'