chiark / gitweb /
shell-completion: add missing output modes
authorRonny Chevalier <chevalier.ronny@gmail.com>
Fri, 9 Jan 2015 12:53:23 +0000 (13:53 +0100)
committerRonny Chevalier <chevalier.ronny@gmail.com>
Fri, 9 Jan 2015 12:53:23 +0000 (13:53 +0100)
https://bugs.freedesktop.org/show_bug.cgi?id=88216

shell-completion/bash/journalctl
shell-completion/zsh/_sd_outputmodes

index 14dcd22..2efa100 100644 (file)
@@ -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[*]}
index dae8a5c..2ce84a7 100644 (file)
@@ -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 "$@"