From bf6db55ad58e9bfa3195a54b01d692b7adbf4056 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 12 Feb 2011 15:02:51 +0100 Subject: 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 Signed-off-by: Karel Zak --- text-utils/more.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'text-utils/more.1') 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. -- cgit v1.2.3-55-g7522