commit 814b04e71076abe67af66766b1216ed4974c4c21
Author: Jakob Kramer <jakob.kra...@gmx.de>
Date:   Sat May 3 20:42:33 2014 +0200

    sort: document -b

diff --git a/sort.1 b/sort.1
index 899efe2..7a2057f 100644
--- a/sort.1
+++ b/sort.1
@@ -3,7 +3,7 @@
 sort \- sort lines
 .SH SYNOPSIS
 .B sort
-.RB [ \-nru ]
+.RB [ \-bnru ]
 .RB [ \-k
 .I key
 .R ]...
@@ -14,6 +14,9 @@ writes the sorted concatenation of the given files to stdout. 
 If no file is
 given, sort reads from stdin.
 .SH OPTIONS
 .TP
+.B \-b
+skip leading whitespace of columns when sorting.
+.TP
 .B \-n
 perform a numeric sort.
 .TP
diff --git a/sort.c b/sort.c
index 9ab58d8..0f19b44 100644
--- a/sort.c
+++ b/sort.c
@@ -41,7 +41,7 @@ static bool bflag = false;
 static void
 usage(void)
 {
-       enprintf(2, "usage: %s [-nru] [-k def]... [file...]
", argv0);
+       enprintf(2, "usage: %s [-bnru] [-k def]... [file...]
", argv0);
 }
 
 int


Reply via email to