diff options
author | Ian Wienand <ian@wienand.org> | 2017-05-08 10:23:49 +1000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-05-07 20:23:49 -0400 |
commit | 7e563bfc973723ac93548afbbee52063d285c09a (patch) | |
tree | 4c8faa08f8086f48a4b64b031d9e82dbe4bddf2f /shell-completion | |
parent | 51cf831304e607fc9954896d248972107f9387e7 (diff) | |
download | systemd-7e563bfc973723ac93548afbbee52063d285c09a.tar.gz |
Add short-iso-precise for journalctl output (#5884)
This adds a short-iso-precise option for journalctl output. It is similar to
short-iso, but includes microseconds.
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/systemctl.in | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_sd_outputmodes | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index e4ccad8799..907d7dd55b 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -172,7 +172,7 @@ _systemctl () { comps='full enable-only disable-only' ;; --output|-o) - comps='short short-full short-iso short-precise short-monotonic short-unix verbose export json + comps='short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat' ;; --machine|-M) diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes index 52617c6b7a..2948f40130 100644 --- a/shell-completion/zsh/_sd_outputmodes +++ b/shell-completion/zsh/_sd_outputmodes @@ -1,5 +1,5 @@ #autoload local -a _output_opts -_output_opts=(short short-full short-iso short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat) +_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat) _describe -t output 'output mode' _output_opts || compadd "$@" |