From 9c60d421fd95a33350ac9c68512e6b1d2edd9f27 Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 14 Feb 2024 23:57:43 -0600 Subject: even: Fix help message The help message was missing some information, that has now been added. --- main.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- cgit v1.2.3