svn commit: trunk/busybox/include

vda at busybox.net vda at busybox.net
Sat Nov 18 02:17:38 UTC 2006


Author: vda
Date: 2006-11-17 18:17:37 -0800 (Fri, 17 Nov 2006)
New Revision: 16575

Log:
nc: fix --help text


Modified:
   trunk/busybox/include/usage.h


Changeset:
Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h	2006-11-17 23:44:45 UTC (rev 16574)
+++ trunk/busybox/include/usage.h	2006-11-18 02:17:37 UTC (rev 16575)
@@ -2127,18 +2127,14 @@
 	"$ nameif -c /etc/my_mactab_file\n" \
 
 #if ENABLE_NC_SERVER || ENABLE_NC_EXTRA
-#define NC_BR1 "["
-#define NC_BR2 "]"
 #define NC_OPTIONS_STR "\n\nOptions:"
 #else
-#define NC_BR1
-#define NC_BR2
 #define NC_OPTIONS_STR
 #endif
 
 #define nc_trivial_usage \
-	NC_BR1 USE_NC_EXTRA("iw")USE_NC_SERVER("-l") NC_BR2 USE_NC_SERVER(" [-p PORT]") \
-	" [" USE_NC_EXTRA("-f FILENAME|") "{IPADDR PORTNUM}]" USE_NC_EXTRA(" [-e COMMAND]")
+	USE_NC_EXTRA("[-iN] [-wN] ")USE_NC_SERVER("[-l] [-p PORT] ") \
+	"["USE_NC_EXTRA("-f FILENAME|")"IPADDR PORTNUM]"USE_NC_EXTRA(" [-e COMMAND]")
 #define nc_full_usage \
 	"Netcat opens a pipe to IP:port" USE_NC_EXTRA(" or file") \
 	NC_OPTIONS_STR \




More information about the busybox-cvs mailing list