From ea86302d44a0370264959970eb624035aeb4cef4 Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 6 Mar 2024 23:30:08 -0600 Subject: Reorganize the help message Changed around stuff in the help message to make it more consistent with zeven. --- main.c | 11 +++++++---- 1 file 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; } -- cgit v1.2.3