summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 5d4716d..62d3d28 100644
--- a/main.c
+++ b/main.c
@@ -3,9 +3,12 @@
void printhelp() {
fprintf(stderr, "even: a binary by ZachIR to check if a number is even or ");
fprintf(stderr, "odd.\n");
+ fprintf(stderr, "even [-hvc]\n");
+ fprintf(stderr, "even [-q] NUMBER\n");
fprintf(stderr, "\t-h: prints this help message\n");
fprintf(stderr, "\t-v: prints the version\n");
fprintf(stderr, "\t-c: prints the copyright information\n");
+ fprintf(stderr, "\t-q: just use error codes, no text\n");
return;
}