summaryrefslogtreecommitdiff
path: root/src/machine/machinectl.c
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 /src/machine/machinectl.c
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 'src/machine/machinectl.c')
-rw-r--r--src/machine/machinectl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index d05b4101cc..a93425e97b 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -2462,9 +2462,9 @@ static int help(int argc, char *argv[], void *userdata) {
" --max-addresses=INTEGER Number of internet addresses to show at most\n"
" -o --output=STRING Change journal output mode (short, short-precise,\n"
" short-iso, short-iso-precise, short-full,\n"
- " short-monotonic, short-unix, verbose, export,\n"
+ " short-monotonic, short-unix, short-delta,\n"
" json, json-pretty, json-sse, json-seq, cat,\n"
- " with-unit)\n"
+ " verbose, export, with-unit)\n"
" --verify=MODE Verification mode for downloaded images (no,\n"
" checksum, signature)\n"
" --force Download image even if already exists\n"