[git commit] sort: help text does not need to say that -mST are supported but ignored

Denys Vlasenko vda.linux at googlemail.com
Sat Apr 2 15:39:50 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=c87e81f9440278dd46a3eddd1e0f4773afd46a95
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Such information is useless for users of "sort --help"

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/sort.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/coreutils/sort.c b/coreutils/sort.c
index 07d9033..c8b42c7 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -14,7 +14,7 @@
 
 //usage:#define sort_trivial_usage
 //usage:       "[-nru"
-//usage:	IF_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR")
+//usage:	IF_FEATURE_SORT_BIG("gMcszbdfiokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR")
 //usage:       "] [FILE]..."
 //usage:#define sort_full_usage "\n\n"
 //usage:       "Sort lines of text\n"
@@ -41,7 +41,10 @@
 //usage:     "\n	-u	Suppress duplicate lines"
 //usage:	IF_FEATURE_SORT_BIG(
 //usage:     "\n	-z	Lines are terminated by NUL, not newline"
-//usage:     "\n	-mST	Ignored for GNU compatibility")
+////usage:     "\n	-m	Ignored for GNU compatibility"
+////usage:     "\n	-S BUFSZ Ignored for GNU compatibility"
+////usage:     "\n	-T TMPDIR Ignored for GNU compatibility"
+//usage:	)
 //usage:
 //usage:#define sort_example_usage
 //usage:       "$ echo -e \"e\\nf\\nb\\nd\\nc\\na\" | sort\n"


More information about the busybox-cvs mailing list