From b103fb10cfb09902df1581efc81ea386e63c71b5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 7 Sep 2010 18:41:56 +0200 Subject: nc: show help text on bad parameters Signed-off-by: Denys Vlasenko --- networking/nc_bloaty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking') 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) -- cgit v1.2.3