From 02551d8a62d84b8788a8793de121c2f1e5212d63 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Mon, 30 Jan 2012 11:59:04 +0000
Subject: doc: clarify --help output for some optional arguments
* src/pr.c (usage): Fix the -S description to indicate
that the argument is optional for the short option.
* doc/coreutils.texi (pr invocation): Likewise.
* src/od.c (usage): Fix the -S description to indicate
that the argument is required for the short option.
Clarify -w takes an argument and that it is optional.
---
src/pr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'src/pr.c')
diff --git a/src/pr.c b/src/pr.c
index 4f949de24..f1e310f90 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -250,7 +250,7 @@
compliant formulation. The source code translates -s into
the new options -S and -J, also -W if required.
- -S STRING, --sep-string[=STRING]
+ -S[STRING], --sep-string[=STRING]
Separate columns by any string STRING. The -S option
doesn't react upon the -W/-w option (unlike -s option
does). It defines a separator nothing else.
@@ -2842,7 +2842,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
options (-COLUMN|-a -COLUMN|-m) except -w is set\n\
"), stdout);
fputs (_("\
- -SSTRING, --sep-string[=STRING]\n\
+ -S[STRING], --sep-string[=STRING]\n\
separate columns by STRING,\n\
without -S: Default separator