summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-06 23:30:08 -0600
committerzachir <zachir@librem.one>2024-03-06 23:30:08 -0600
commitea86302d44a0370264959970eb624035aeb4cef4 (patch)
treeae2c643b43c5675f52e1d8df83856de761f2bb2b
parent9c60d421fd95a33350ac9c68512e6b1d2edd9f27 (diff)
Reorganize the help message
Changed around stuff in the help message to make it more consistent with zeven.
-rw-r--r--main.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/main.c b/main.c
index 62d3d28..c1a8b23 100644
--- a/main.c
+++ b/main.c
@@ -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;
}