summaryrefslogtreecommitdiff
path: root/shell-completion/bash
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2017-02-14 23:08:46 +0900
committerNamhyung Kim <namhyung@gmail.com>2017-02-14 23:27:16 +0900
commit5badf05f39cdf2807b3b99ee8a499058056a0361 (patch)
tree9c4f72fb8e003976b0f4e511a8f675a0cf38a319 /shell-completion/bash
parentc1143c930fed22e7196d987cfacd37e4593b7878 (diff)
shell_completion: Add -r option for coredumpctl
Diffstat (limited to 'shell-completion/bash')
-rw-r--r--shell-completion/bash/coredumpctl3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/coredumpctl b/shell-completion/bash/coredumpctl
index 6091677506..d34f89e2bb 100644
--- a/shell-completion/bash/coredumpctl
+++ b/shell-completion/bash/coredumpctl
@@ -37,7 +37,8 @@ __journal_fields=(MESSAGE{,_ID} PRIORITY CODE_{FILE,LINE,FUNC}
_coredumpctl() {
local i verb comps
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
- local OPTS='-h --help --version --no-pager --no-legend -o --output -F --field -1'
+ local OPTS='-h --help --version --no-pager --no-legend -o --output -F --field -1
+ -r --reverse'
local -A VERBS=(
[LIST]='list'