diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-03 19:38:13 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-11 18:10:34 -0400 |
commit | 94e0bd7db1d7ca8ab7f738cdab1d014241f5b225 (patch) | |
tree | 0f670f29e0717d887c4abbbfbab730cfdedefcd8 /src/journal/journalctl.c | |
parent | f535088ef72a92533f2c4270d06289c89737fa2a (diff) |
systemctl: show hint about --full when lines don't fit
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r-- | src/journal/journalctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index feea6bf19e..5cf9390249 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -1305,6 +1305,7 @@ int main(int argc, char *argv[]) { sd_id128_t previous_boot_id; bool previous_boot_id_valid = false, first_line = true; int n_shown = 0; + bool ellipsized = false; setlocale(LC_ALL, ""); log_parse_environment(); @@ -1624,7 +1625,7 @@ int main(int argc, char *argv[]) { on_tty() * OUTPUT_COLOR | arg_catalog * OUTPUT_CATALOG; - r = output_journal(stdout, j, arg_output, 0, flags); + r = output_journal(stdout, j, arg_output, 0, flags, &ellipsized); need_seek = true; if (r == -EADDRNOTAVAIL) break; |