summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-07-17 07:35:08 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-17 17:20:58 +0200
commit92a1fd9e95954a557d6fe27b56f5ef1b89fc2f5e (patch)
tree58cce02cda2c254c7c7cfa54f98213d1a33ce04d /src/shared/logs-show.h
parent085d71209ba32c1e4e72ec031536be892054352e (diff)
journalctl: do not ellipsize when using pager
If a pager is used, ellipsization is redundant — the pager does that better by hiding the part that cannot be shown. Pager's advantage is that the user can press → to view the hidden part of a message, and then ← to return.
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r--src/shared/logs-show.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h
index 44afaf306a..2e9cf63891 100644
--- a/src/shared/logs-show.h
+++ b/src/shared/logs-show.h
@@ -44,6 +44,7 @@ typedef enum OutputFlags {
OUTPUT_MONOTONIC_MODE = 1 << 1,
OUTPUT_FOLLOW = 1 << 2,
OUTPUT_WARN_CUTOFF = 1 << 3,
+ OUTPUT_FULL_WIDTH = 1 << 4,
} OutputFlags;
int output_journal(sd_journal *j, OutputMode mode, unsigned line,