1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

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]' \