summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlshprung <lshprung@yahoo.com>2022-05-25 15:02:22 -0700
committerlshprung <lshprung@yahoo.com>2022-05-25 15:02:22 -0700
commit84c961ce56449438d54e4d82b99c03288df96d21 (patch)
treee5d09e05c29c0cc7aecdb6357cc73534a0266b9f
parent8cd5a7a5c57978b4b904164e0be3305b19e1199e (diff)
Modified help messageHEADmaster
-rw-r--r--int2bin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/int2bin.c b/int2bin.c
index 0f965d7..d317f71 100644
--- a/int2bin.c
+++ b/int2bin.c
@@ -12,9 +12,9 @@ void print_help(char *name){
printf("Convert NUMBER(S) to binary\n\n");
printf("Options:\n");
- printf(" -b, --bits\tSpecify number of bits to print (default is 32)\n");
- printf(" -h, --help\tPrint this help message and exit\n");
- printf(" --raw \tPrint only the binary form\n");
+ printf(" -b, --bits NUM \tSpecify number of bits to print (default is 32)\n");
+ printf(" -h, --help \tPrint this help message and exit\n");
+ printf(" --raw \tPrint only the binary form\n");
}
char *to_bin(int n, int bits){