summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-01-09 13:53:23 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-01-09 13:53:23 +0100
commite4e5a85f34db9b18a5ae84a659fcdaf7e494dec1 (patch)
tree920d98506c02891f52bd83d256e90d6313028c73 /shell-completion
parent7ce9812173bd32dd46f2804b50815abf3fc18f11 (diff)
shell-completion: add missing output modes
https://bugs.freedesktop.org/show_bug.cgi?id=88216
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/journalctl2
-rw-r--r--shell-completion/zsh/_sd_outputmodes2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
index 14dcd223b..2efa1000e 100644
--- a/shell-completion/bash/journalctl
+++ b/shell-completion/bash/journalctl
@@ -65,7 +65,7 @@ _journalctl() {
compopt -o filenames
;;
--output|-o)
- comps='short short-monotonic verbose export json cat'
+ comps='short short-iso short-precise short-monotonic verbose export json json-pretty json-sse cat'
;;
--field|-F)
comps=${__journal_fields[*]}
diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes
index dae8a5c0d..2ce84a79a 100644
--- a/shell-completion/zsh/_sd_outputmodes
+++ b/shell-completion/zsh/_sd_outputmodes
@@ -1,5 +1,5 @@
#autoload
local -a _output_opts
-_output_opts=(short short-monotonic verbose export json json-pretty json-see cat)
+_output_opts=(short short-iso short-precise short-monotonic verbose export json json-pretty json-see cat)
_describe -t output 'output mode' _output_opts || compadd "$@"