diff options
author | zachir <zachir@librem.one> | 2024-03-06 23:30:08 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-03-06 23:30:08 -0600 |
commit | ea86302d44a0370264959970eb624035aeb4cef4 (patch) | |
tree | ae2c643b43c5675f52e1d8df83856de761f2bb2b | |
parent | 9c60d421fd95a33350ac9c68512e6b1d2edd9f27 (diff) |
Reorganize the help message
Changed around stuff in the help message to make it more consistent
with zeven.
-rw-r--r-- | main.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -3,12 +3,15 @@ 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, "even [-hcv]\n"); + fprintf(stderr, "even [--help]\n"); + fprintf(stderr, "even [--copyright]\n"); + fprintf(stderr, "even [--version]\n"); + fprintf(stderr, "even [-q] [--quiet] 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"); + fprintf(stderr, "\t-v: prints the version\n"); + fprintf(stderr, "\t-q: just uses error codes, no text\n"); return; } |