]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion: include the new coredumpctl options 5429/head
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Fri, 24 Feb 2017 19:30:59 +0000 (21:30 +0200)
committerGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Fri, 24 Feb 2017 19:30:59 +0000 (21:30 +0200)
shell-completion/bash/coredumpctl
shell-completion/zsh/_coredumpctl

index d34f89e2bb9cc3f56891c75f338578da46000926..87fe473e091905db48a032a269eed1af0fbdaf6f 100644 (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'
index 64b44c1214cd40263881644dd04a21a9295c41d6..e469bca9582b25d4182a1175ca86e2092085cac0 100644 (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]' \