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. --- doc/coreutils.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3-54-g00ecf