summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorDaniel Braunwarth <daniel@braunwarth.dev>2022-09-22 18:35:19 +0200
committerDaniel Braunwarth <daniel@braunwarth.dev>2022-09-23 10:07:03 +0200
commit893bcd3d074022bd52618cb682152cb822878636 (patch)
treefd636b0ef90ba4d39163f92f1a3032a11237dcc8 /shell-completion
parent275e6be052e690adcad5d2a557acb9dcb5bedbc6 (diff)
downloadsystemd-893bcd3d074022bd52618cb682152cb822878636.tar.gz
shared/logs-show: add new --output= format "short-delta"
This new output formatting option is similar to "short-monotonic" but also shows the time delta between two messages. This fixes #24641.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_sd_outputmodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes
index 267a2e7bd3..68b11871f2 100644
--- a/shell-completion/zsh/_sd_outputmodes
+++ b/shell-completion/zsh/_sd_outputmodes
@@ -2,5 +2,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
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)
+_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix short-delta verbose export json json-pretty json-sse json-seq cat with-unit)
_describe -t output 'output mode' _output_opts || compadd "$@"