summaryrefslogtreecommitdiff
path: root/networking/nc_bloaty.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-09-07 18:41:56 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-09-07 18:41:56 +0200
commitb103fb10cfb09902df1581efc81ea386e63c71b5 (patch)
treec6e79eb6758a794013a2c8e3b0706acf70afdd59 /networking/nc_bloaty.c
parentd55f599440c65c0808c6d14b339f6175995fcf7c (diff)
downloadbusybox-b103fb10cfb09902df1581efc81ea386e63c71b5.tar.gz
nc: show help text on bad parameters
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'networking/nc_bloaty.c')
-rw-r--r--networking/nc_bloaty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c
index dbcce8bf4..6b5b176c9 100644
--- a/networking/nc_bloaty.c
+++ b/networking/nc_bloaty.c
@@ -858,7 +858,7 @@ int nc_main(int argc UNUSED_PARAM, char **argv)
} else {
/* Outbound connects. Now we're more picky about args... */
if (!themaddr)
- bb_error_msg_and_die("no destination");
+ bb_show_usage();
remend = *themaddr;
if (o_verbose)