summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>2017-02-24 21:30:59 +0200
committerGiedrius Statkevičius <giedrius.statkevicius@gmail.com>2017-02-24 21:30:59 +0200
commit15710d44791f8f56dd688cff6c597622bbd70b3c (patch)
tree7da326b0cf271958a9a61fd7ca773b075bd5cf55
parent4ab2753e368e0872fce7835650688af12d26920f (diff)
shell-completion: include the new coredumpctl options
-rw-r--r--shell-completion/bash/coredumpctl2
-rw-r--r--shell-completion/zsh/_coredumpctl2
2 files changed, 3 insertions, 1 deletions
diff --git a/shell-completion/bash/coredumpctl b/shell-completion/bash/coredumpctl
index d34f89e2bb..87fe473e09 100644
--- a/shell-completion/bash/coredumpctl
+++ b/shell-completion/bash/coredumpctl
@@ -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'
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl
index 64b44c1214..e469bca958 100644
--- a/shell-completion/zsh/_coredumpctl
+++ b/shell-completion/zsh/_coredumpctl
@@ -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]' \