]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: new usage output, and some trivial fixes
authorSami Kerola <kerolasa@iki.fi>
Sat, 12 Feb 2011 14:02:51 +0000 (15:02 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 15 Feb 2011 09:13:19 +0000 (10:13 +0100)
commitbf6db55ad58e9bfa3195a54b01d692b7adbf4056
tree0f7b703c0b30cf7ce965db9c61f56b5f4c801bf4
parent912d6b98925a34b05fb4791a2f52225b06c420af
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>
text-utils/more.1
text-utils/more.c