[git commit master 1/1] tweak help text

Denys Vlasenko vda.linux at googlemail.com
Sat Oct 9 19:10:32 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=3b2acb759cac73fe2af096af8641c01197fa4214
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 archival/bbunzip.c     |    2 +-
 include/usage.src.h    |    2 +-
 modutils/insmod.c      |    2 +-
 networking/nc_bloaty.c |    3 ++-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index 787f412..6b64576 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -305,7 +305,7 @@ int gunzip_main(int argc UNUSED_PARAM, char **argv)
  * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
 //usage:#define bunzip2_trivial_usage
-//usage:       "[OPTIONS] [FILE]..."
+//usage:       "[-cf] [FILE]..."
 //usage:#define bunzip2_full_usage "\n\n"
 //usage:       "Decompress FILEs (or stdin)\n"
 //usage:     "\nOptions:"
diff --git a/include/usage.src.h b/include/usage.src.h
index f058a9d..5552503 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -2781,7 +2781,7 @@ INSERT
 	IF_SELINUX( \
      "\n	-Z	Set security context" \
 	) \
-     "\nTYPEs:" \
+     "\nTYPE:" \
      "\n	b	Block device" \
      "\n	c or u	Character device" \
      "\n	p	Named pipe (MAJOR and MINOR are ignored)" \
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 17fc18c..4fe388b 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -16,7 +16,7 @@
 //usage:#define insmod_trivial_usage
 //usage:	IF_FEATURE_2_4_MODULES("[OPTIONS] MODULE ")
 //usage:	IF_NOT_FEATURE_2_4_MODULES("FILE ")
-//usage:	"[symbol=value]..."
+//usage:	"[SYMBOL=VALUE]..."
 //usage:#define insmod_full_usage "\n\n"
 //usage:       "Load the specified kernel modules into the kernel"
 //usage:	IF_FEATURE_2_4_MODULES( "\n"
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c
index 6b5b176..8594a67 100644
--- a/networking/nc_bloaty.c
+++ b/networking/nc_bloaty.c
@@ -57,7 +57,8 @@
 //usage:#define nc_trivial_usage
 //usage:       "[OPTIONS] HOST PORT  - connect"
 //usage:	IF_NC_SERVER("\n"
-//usage:       "nc [OPTIONS] -l -p PORT [HOST] [PORT]  - listen")
+//usage:       "nc [OPTIONS] -l -p PORT [HOST] [PORT]  - listen"
+//usage:	)
 //usage:#define nc_full_usage "\n\n"
 //usage:       "Options:"
 //usage:     "\n	-e PROG	Run PROG after connect (must be last)"
-- 
1.7.1



More information about the busybox-cvs mailing list