aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-18 02:17:37 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-18 02:17:37 +0000
commit10a766025666e03df73d77757ea22924839e8dfb (patch)
treed439b689fc529adff971b8a939340ea630f959ad
parentd165e94f4904b921be285ac06ecd035d8fe7eb77 (diff)
downloadbusybox-w32-10a766025666e03df73d77757ea22924839e8dfb.tar.gz
busybox-w32-10a766025666e03df73d77757ea22924839e8dfb.tar.bz2
busybox-w32-10a766025666e03df73d77757ea22924839e8dfb.zip
nc: fix --help text
git-svn-id: svn://busybox.net/trunk/busybox@16575 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--include/usage.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/usage.h b/include/usage.h
index 77986fea7..ccdfef74a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2127,18 +2127,14 @@ USE_FEATURE_MDEV_CONFIG( \
2127 "$ nameif -c /etc/my_mactab_file\n" \ 2127 "$ nameif -c /etc/my_mactab_file\n" \
2128 2128
2129#if ENABLE_NC_SERVER || ENABLE_NC_EXTRA 2129#if ENABLE_NC_SERVER || ENABLE_NC_EXTRA
2130#define NC_BR1 "["
2131#define NC_BR2 "]"
2132#define NC_OPTIONS_STR "\n\nOptions:" 2130#define NC_OPTIONS_STR "\n\nOptions:"
2133#else 2131#else
2134#define NC_BR1
2135#define NC_BR2
2136#define NC_OPTIONS_STR 2132#define NC_OPTIONS_STR
2137#endif 2133#endif
2138 2134
2139#define nc_trivial_usage \ 2135#define nc_trivial_usage \
2140 NC_BR1 USE_NC_EXTRA("iw")USE_NC_SERVER("-l") NC_BR2 USE_NC_SERVER(" [-p PORT]") \ 2136 USE_NC_EXTRA("[-iN] [-wN] ")USE_NC_SERVER("[-l] [-p PORT] ") \
2141 " [" USE_NC_EXTRA("-f FILENAME|") "{IPADDR PORTNUM}]" USE_NC_EXTRA(" [-e COMMAND]") 2137 "["USE_NC_EXTRA("-f FILENAME|")"IPADDR PORTNUM]"USE_NC_EXTRA(" [-e COMMAND]")
2142#define nc_full_usage \ 2138#define nc_full_usage \
2143 "Netcat opens a pipe to IP:port" USE_NC_EXTRA(" or file") \ 2139 "Netcat opens a pipe to IP:port" USE_NC_EXTRA(" or file") \
2144 NC_OPTIONS_STR \ 2140 NC_OPTIONS_STR \