diff options
| author | zachir <zachir@librem.one> | 2024-02-14 23:57:43 -0600 |
|---|---|---|
| committer | zachir <zachir@librem.one> | 2024-02-14 23:57:43 -0600 |
| commit | 9c60d421fd95a33350ac9c68512e6b1d2edd9f27 (patch) | |
| tree | b50fe25f6a76739278c48a1e4552e4917a8a4e11 | |
| parent | 0689d6bbbb0e6ecc3934d8e4a2e9b0fc66a0b29f (diff) | |
even: Fix help message
The help message was missing some information, that has now been added.
| -rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |
