shell-completion: add missing output modes

https://bugs.freedesktop.org/show_bug.cgi?id=88216
This commit is contained in:
Ronny Chevalier 2015-01-09 13:53:23 +01:00
parent 7ce9812173
commit e4e5a85f34
2 changed files with 2 additions and 2 deletions

View 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[*]}

View 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 "$@"