summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-18 02:17:37 +0000
committerDenis Vlasenko2006-11-18 02:17:37 +0000
commitf7eaccde13e03d7a4cf87cd6f415abb399344028 (patch)
treed439b689fc529adff971b8a939340ea630f959ad /include/usage.h
parenta7189f01a4a19a9c8852e84b322fc3d8cbda92eb (diff)
downloadbusybox-f7eaccde13e03d7a4cf87cd6f415abb399344028.zip
busybox-f7eaccde13e03d7a4cf87cd6f415abb399344028.tar.gz
nc: fix --help text
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/usage.h b/include/usage.h
index 77986fe..ccdfef7 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2127,18 +2127,14 @@ USE_FEATURE_MDEV_CONFIG( \
"$ 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 \