[PATCH 8/8] sort: document -b

From: Jakob Kramer <jakob.kramer_AT_gmx.de>
Date: Sat, 3 May 2014 20:42:33 +0200

---
 sort.1 | 5 ++++-
 sort.c | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/sort.1 b/sort.1
index 899efe2..7a2057f 100644
--- a/sort.1
+++ b/sort.1
_AT_@ -3,7 +3,7 @@
 sort \- sort lines
 .SH SYNOPSIS
 .B sort
-.RB [ \-nru ]
+.RB [ \-bnru ]
 .RB [ \-k
 .I key
 .R ]...
_AT_@ -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
_AT_@ -41,7 +41,7 @@ static bool bflag = false;
 static void
 usage(void)
 {
-	enprintf(2, "usage: %s [-nru] [-k def]... [file...]\n", argv0);
+	enprintf(2, "usage: %s [-bnru] [-k def]... [file...]\n", argv0);
 }
 
 int
-- 
1.8.5.1
--/04w6evG8XlLl3ft--
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Sat May 03 2014 - 21:24:03 CEST