projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ae040
)
give help if no options are given
author
Bart De Schuymer
<bdschuym@pandora.be>
Sat, 19 Feb 2005 19:01:15 +0000
(19:01 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Sat, 19 Feb 2005 19:01:15 +0000
(19:01 +0000)
ebtablesu.c
patch
|
blob
|
history
diff --git
a/ebtablesu.c
b/ebtablesu.c
index
cd86783
..
1fed0c1
100644
(file)
--- a/
ebtablesu.c
+++ b/
ebtablesu.c
@@
-35,7
+35,8
@@
int main(int argc, char *argv[])
return -1;
} else if (argc == 1) {
fprintf(stderr, "At least one argument is needed.\n");
- return -1;
+ print_help();
+ exit(0);
}
for (i = 0; i < argc; i++)