diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-07-24 12:19:08 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-08-17 19:48:32 +0200 |
commit | b91ae210e62d7630346a9b5545dedc55c7831d95 (patch) | |
tree | 56af8e2658dd838c3c83ae06e2457f47d3428b1d /src/journal/journalctl.c | |
parent | a9134af2e3ab22eba96228ea6ba440e89213cef2 (diff) | |
download | systemd-b91ae210e62d7630346a9b5545dedc55c7831d95.tar.gz |
journal: adjust line about when the journal begins and ends
This comes up occasionally with new users. The phrase "Logs begin ..." is
ambiguous because it can be taken to mean the logs being displayed or all logs
(the intended meaning). Let's rephrase this as "Journal begins ..." to make
this clearer.
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r-- | src/journal/journalctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 8d4897b942..7613cb0b53 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -2562,10 +2562,10 @@ int main(int argc, char *argv[]) { if (r > 0) { if (arg_follow) - printf("-- Logs begin at %s. --\n", + printf("-- Journal begins at %s. --\n", format_timestamp_maybe_utc(start_buf, sizeof(start_buf), start)); else - printf("-- Logs begin at %s, end at %s. --\n", + printf("-- Journal begins at %s, ends at %s. --\n", format_timestamp_maybe_utc(start_buf, sizeof(start_buf), start), format_timestamp_maybe_utc(end_buf, sizeof(end_buf), end)); } |