summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/ebtablesu.c
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/ebtables2/ebtablesu.c')
-rw-r--r--userspace/ebtables2/ebtablesu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/userspace/ebtables2/ebtablesu.c b/userspace/ebtables2/ebtablesu.c
index cd86783..1fed0c1 100644
--- a/userspace/ebtables2/ebtablesu.c
+++ b/userspace/ebtables2/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++)