shell_completion: Add -r option for coredumpctl

This commit is contained in:
Namhyung Kim
2017-02-14 23:27:16 +09:00
parent c1143c930f
commit 5badf05f39
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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'