summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2012-01-30 11:59:04 +0000
committerPádraig Brady <P@draigBrady.com>2012-01-31 12:53:45 +0000
commit02551d8a62d84b8788a8793de121c2f1e5212d63 (patch)
tree3dfac9aa790454ceaae2794954fc5aeb932324a0 /doc/coreutils.texi
parent447b5d9320e22eed51cd64b8de766ccb1686f230 (diff)
downloadcoreutils-02551d8a62d84b8788a8793de121c2f1e5212d63.tar.xz
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.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 6f24dd356..52838e747 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -2518,7 +2518,7 @@ three column options (@option{-COLUMN}|@option{-a -COLUMN}|@option{-m}) unless
@option{-w} is set. This is a @acronym{POSIX}-compliant formulation.
-@item -S@var{string}
+@item -S[@var{string}]
@itemx --sep-string[=@var{string}]
@opindex -S
@opindex --sep-string
@@ -2528,8 +2528,8 @@ does not affect line truncation or column alignment.
Without @option{-S}, and with @option{-J}, @command{pr} uses the default output
separator, TAB@.
Without @option{-S} or @option{-J}, @command{pr} uses a @samp{space}
-(same as @option{-S"@w{ }"}). @option{--sep-string} with no
-@samp{=@var{string}} is equivalent to @option{--sep-string=""}.
+(same as @option{-S"@w{ }"}).
+If no @samp{@var{string}} argument is specified, @samp{""} is assumed.
@item -t
@itemx --omit-header