diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2022-03-07 16:25:52 -0700 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2022-03-07 16:25:52 -0700 |
commit | 4f775aa7b8993feda0775a721f1195d81d134792 (patch) | |
tree | 928a65996d606b96203e18b61f255127f8fd5d76 | |
parent | fe9fd1c75cbb6288396ec61dc7dedf4c99d7ff77 (diff) | |
download | uirc-4f775aa7b8993feda0775a721f1195d81d134792.tar uirc-4f775aa7b8993feda0775a721f1195d81d134792.tar.gz uirc-4f775aa7b8993feda0775a721f1195d81d134792.tar.bz2 |
added help text for h flag
-rw-r--r-- | uirc.c | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -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 = "--"; |