projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55f599
)
nc: show help text on bad parameters
author
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 7 Sep 2010 16:41:56 +0000
(18:41 +0200)
committer
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 7 Sep 2010 16:41:56 +0000
(18:41 +0200)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
networking/nc_bloaty.c
patch
|
blob
|
history
diff --git
a/networking/nc_bloaty.c
b/networking/nc_bloaty.c
index dbcce8bf438fd1f8da425519240e9c2517ebfba1..6b5b176c9657bd1c8b50fc9869ae1937f5faf198 100644
(file)
--- 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)