util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] column: clarify the --separator option
@ 2012-09-26 21:20 Pádraig Brady
  2012-10-02  8:32 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Pádraig Brady @ 2012-09-26 21:20 UTC (permalink / raw)
  To: util-linux; +Cc: Pádraig Brady

Indicate that the string is a set,
which also clarifies that it's only
significant when parsing the input.
---
 text-utils/column.1 |    4 ++--
 text-utils/column.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/text-utils/column.1 b/text-utils/column.1
index 2050666..8a461a8 100644
--- a/text-utils/column.1
+++ b/text-utils/column.1
@@ -52,8 +52,8 @@ Output is formatted to a width specified as number of characters.
 Determine the number of columns the input contains and create a table.
 Columns are delimited with whitespace, by default, or with the characters
 supplied using the separator. Table output is useful for pretty-printing.
-.IP "\fB\-s, \-\-separator\fP \fIseparator\fP"
-Specify table separator (default is whitespace).
+.IP "\fB\-s, \-\-separator\fP \fIseparators\fP"
+Specify possible table delimiters (default is whitespace).
 .IP "\fB\-x, \-\-fillrows\fP"
 Fill columns before filling rows.
 .IP "\fB\-h, \-\-help\fP"
diff --git a/text-utils/column.c b/text-utils/column.c
index 61668fd..137c9a6 100644
--- a/text-utils/column.c
+++ b/text-utils/column.c
@@ -96,7 +96,7 @@ static void __attribute__((__noreturn__)) usage(int rc)
 	" -V, --version            output version information and exit\n"
 	" -c, --columns <width>    width of output in number of characters\n"
 	" -t, --table              create a table\n"
-	" -s, --separator <string> table delimiter\n"
+	" -s, --separator <string> possible table delimiters\n"
 	" -x, --fillrows           fill rows before columns\n"));
 
 	fprintf(out, _("\nFor more information see column(1).\n"));
-- 
1.7.6.4


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

* Re: [PATCH] column: clarify the --separator option
  2012-09-26 21:20 [PATCH] column: clarify the --separator option Pádraig Brady
@ 2012-10-02  8:32 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-10-02  8:32 UTC (permalink / raw)
  To: Pádraig Brady; +Cc: util-linux

On Wed, Sep 26, 2012 at 10:20:07PM +0100, Pádraig Brady wrote:
>  text-utils/column.c |    2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

end of thread, other threads:[~2012-10-02  8:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26 21:20 [PATCH] column: clarify the --separator option Pádraig Brady
2012-10-02  8:32 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).