mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
8e04444385
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.
7 lines
298 B
Plaintext
7 lines
298 B
Plaintext
#autoload
|
|
# 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 json-seq cat with-unit)
|
|
_describe -t output 'output mode' _output_opts || compadd "$@"
|