diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-07 18:41:56 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-07 18:41:56 +0200 |
commit | b103fb10cfb09902df1581efc81ea386e63c71b5 (patch) | |
tree | c6e79eb6758a794013a2c8e3b0706acf70afdd59 /networking/nc_bloaty.c | |
parent | d55f599440c65c0808c6d14b339f6175995fcf7c (diff) |
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.c | 2 |
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) |