summaryrefslogtreecommitdiff
path: root/src/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/help.c b/src/help.c
index a8e35e2..2c3a3f6 100644
--- a/src/help.c
+++ b/src/help.c
@@ -111,8 +111,9 @@ void exit_with_usage(char *myname, char *message, char *arg)
printf("\nError: ");
printf(message, arg);
printf("\n");
+ exit(1);
}
- exit(1);
+ exit(0);
}
/* Here come the help page routines */