mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
shell-completion: add missing output modes
https://bugs.freedesktop.org/show_bug.cgi?id=88216
This commit is contained in:
parent
7ce9812173
commit
e4e5a85f34
@ -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[*]}
|
||||
|
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user