shell-completion: include the new coredumpctl options

This commit is contained in:
Giedrius Statkevičius 2017-02-24 21:30:59 +02:00
parent 4ab2753e36
commit 15710d4479
2 changed files with 3 additions and 1 deletions

View file

@ -38,7 +38,7 @@ _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
-r --reverse'
-r --reverse -S --since -U --until'
local -A VERBS=(
[LIST]='list'

View file

@ -32,6 +32,8 @@ _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]' \
{-S,--since}'[Print entries since the specified date]' \
{-U,--until}'[Print entries until the specified date]' \
{-r,--reverse}'[Show the newest entries first]' \
'--no-pager[Do not pipe output into a pager]' \
'--no-legend[Do not print the column headers]' \