mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
shell-completion: include the new coredumpctl options
This commit is contained in:
parent
4ab2753e36
commit
15710d4479
@ -38,7 +38,7 @@ _coredumpctl() {
|
|||||||
local i verb comps
|
local i verb comps
|
||||||
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
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'
|
-r --reverse -S --since -U --until'
|
||||||
|
|
||||||
local -A VERBS=(
|
local -A VERBS=(
|
||||||
[LIST]='list'
|
[LIST]='list'
|
||||||
|
@ -32,6 +32,8 @@ _arguments \
|
|||||||
{-o+,--output=}'[Write output to FILE]:output file:_files' \
|
{-o+,--output=}'[Write output to FILE]:output file:_files' \
|
||||||
{-F+,--field=}'[Show field in list output]:field' \
|
{-F+,--field=}'[Show field in list output]:field' \
|
||||||
'-1[Show information about most recent entry only]' \
|
'-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]' \
|
{-r,--reverse}'[Show the newest entries first]' \
|
||||||
'--no-pager[Do not pipe output into a pager]' \
|
'--no-pager[Do not pipe output into a pager]' \
|
||||||
'--no-legend[Do not print the column headers]' \
|
'--no-legend[Do not print the column headers]' \
|
||||||
|
Loading…
Reference in New Issue
Block a user