summaryrefslogtreecommitdiffstats
path: root/text-utils/more.1
diff options
context:
space:
mode:
authorSami Kerola2011-02-12 15:02:51 +0100
committerKarel Zak2011-02-15 10:13:19 +0100
commitbf6db55ad58e9bfa3195a54b01d692b7adbf4056 (patch)
tree0f7b703c0b30cf7ce965db9c61f56b5f4c801bf4 /text-utils/more.1
parentlogger: support for logging to UDP socket / remote syslog server (diff)
downloadkernel-qcow2-util-linux-bf6db55ad58e9bfa3195a54b01d692b7adbf4056.tar.gz
kernel-qcow2-util-linux-bf6db55ad58e9bfa3195a54b01d692b7adbf4056.tar.xz
kernel-qcow2-util-linux-bf6db55ad58e9bfa3195a54b01d692b7adbf4056.zip
more: new usage output, and some trivial fixes
Usage output screen got to be completely rewrote. Aim is to assist user to determe which switches to use without reading manual page. The change also introduced new option to see command version. Determination if the executable name is `page' is now easy to see in source, and effect of using the name is mentioned in manual page. Rest of the change is trivial; exit values to compiler warning removals, magic constants to preprocessor definitions, symbolic exit values, comment pretty printing and #endif markups. [kzak@redhat.com: - coding style - add __unused__ attribute to signal handlers] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/more.1')
-rw-r--r--text-utils/more.12
1 files changed, 2 insertions, 0 deletions
diff --git a/text-utils/more.1 b/text-utils/more.1
index 02353aa0d..aa2d155c9 100644
--- a/text-utils/more.1
+++ b/text-utils/more.1
@@ -87,6 +87,8 @@ to count logical, rather than screen lines (i.e., long lines are not
folded).
.It Fl p
Do not scroll. Instead, clear the whole screen and then display the text.
+
+Notice that this option is switched automatically on if executable is named to `page'.
.It Fl c
Do not scroll. Instead, paint each screen from the top, clearing the
remainder of each line as it is displayed.