diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-07-23 20:22:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-11 17:25:27 +0200 |
commit | 8e04444385ddf6cbf9e172cc63e59a351ad39d74 (patch) | |
tree | 075d5f322fae930c9a72aef73329ff91e80119b3 /shell-completion/zsh | |
parent | Merge pull request #10353 from keszybz/more-manager-reloading (diff) | |
download | systemd-8e04444385ddf6cbf9e172cc63e59a351ad39d74.tar.xz systemd-8e04444385ddf6cbf9e172cc63e59a351ad39d74.zip |
journalctl: port JSON output mode to new JSON API
Also, while we are at it, beef it up, by adding json-seq support (i.e.
https://tools.ietf.org/html/rfc7464). This is particularly useful in
conjunction with jq's --seq switch.
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r-- | shell-completion/zsh/_sd_outputmodes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes index 70ff7233af..763b106f3d 100644 --- a/shell-completion/zsh/_sd_outputmodes +++ b/shell-completion/zsh/_sd_outputmodes @@ -2,5 +2,5 @@ # SPDX-License-Identifier: LGPL-2.1+ local -a _output_opts -_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat with-unit) +_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse json-seq cat with-unit) _describe -t output 'output mode' _output_opts || compadd "$@" |