summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-03-07 16:25:52 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-03-07 16:25:52 -0700
commit4f775aa7b8993feda0775a721f1195d81d134792 (patch)
tree928a65996d606b96203e18b61f255127f8fd5d76
parentfe9fd1c75cbb6288396ec61dc7dedf4c99d7ff77 (diff)
downloaduirc-4f775aa7b8993feda0775a721f1195d81d134792.tar
uirc-4f775aa7b8993feda0775a721f1195d81d134792.tar.gz
uirc-4f775aa7b8993feda0775a721f1195d81d134792.tar.bz2
added help text for h flag
-rw-r--r--uirc.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/uirc.c b/uirc.c
index 1a7158c..f0578f8 100644
--- a/uirc.c
+++ b/uirc.c
@@ -11,8 +11,21 @@ int handleArg(arg) char *arg; {
char flag, *longFlag, first, firstTwo[3];
char *help, *license;
- help = "Copyright 2022 Bryson Steck\n"
- "";
+ help = "\nCopyright 2022 Bryson Steck\n"
+ "Licensed under the BSD 2-Clause. You can read the license by running 'uirc -l'\n\n"
+
+ "usage: uirc [-hl] [-r] IMAGE1 [IMAGE2] [...]\n\n"
+
+ "options:\n"
+ "\t-h\t> Display this message\n"
+ "\t-l\t> Display the license disclaimer for uirc (BSD 2-Clause)\n\n"
+
+ "\t-r\t> Display the resolution of the image (in addition to the ratio)\n\n"
+
+ "help:\n"
+ "If you get stuck using uirc, you can read the manpage for uirc:\n\n"
+
+ "\t'man uirc'\n\n";
flag = '-';
longFlag = "--";