From 15710d44791f8f56dd688cff6c597622bbd70b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giedrius=20Statkevi=C4=8Dius?= Date: Fri, 24 Feb 2017 21:30:59 +0200 Subject: [PATCH] shell-completion: include the new coredumpctl options --- shell-completion/bash/coredumpctl | 2 +- shell-completion/zsh/_coredumpctl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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]' \