public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] more: comply with howto-usage-function.txt
@ 2014-02-08 17:15 Phillip Susi
  2014-02-09 10:43 ` Benno Schulenberg
  0 siblings, 1 reply; 3+ messages in thread
From: Phillip Susi @ 2014-02-08 17:15 UTC (permalink / raw)
  To: util-linux

Add angle brackets around the -<num> argument to make it
clear that this is a number, and not the word "NUM"

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
---
 text-utils/more.1 | 4 ++--
 text-utils/more.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/text-utils/more.1 b/text-utils/more.1
index 479f037..b6b6585 100644
--- a/text-utils/more.1
+++ b/text-utils/more.1
@@ -59,7 +59,7 @@ environment variable
 override them.
 .It Fl num
 .TP
-.B \-number
+.B \-<number>
 This option specifies an integer
 .I number
 which is the screen size (in lines).
@@ -106,7 +106,7 @@ The
 option specifies a string that will be searched for before each file is
 displayed.
 .TP
-.B +number
+.B +<number>
 Start at line
 .IR number .
 .SH COMMANDS
diff --git a/text-utils/more.c b/text-utils/more.c
index 4c39887..1a93257 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -327,8 +327,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
 		  "  -c        do not scroll, display text and clean line ends\n"
 		  "  -u        suppress underlining\n"
 		  "  -s        squeeze multiple blank lines into one\n"
-		  "  -NUM      specify the number of lines per screenful\n"
-		  "  +NUM      display file beginning from line number NUM\n"
+		  "  -<NUM>    specify NUM number of lines per screenful\n"
+		  "  +<NUM>    display file beginning from line number NUM\n"
 		  "  +/STRING  display file beginning from search string match\n"
 		  "  -V        output version information and exit\n"));
 	exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-21 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-08 17:15 [PATCH] more: comply with howto-usage-function.txt Phillip Susi
2014-02-09 10:43 ` Benno Schulenberg
2014-02-21 10:58   ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox