commit aae8117eebf6bef6b13fdf87d10aa99b861ecaf8
parent b99ee5b6beca3b2d2644d78d9b394b8c9e2d7e2a
Author: Francisco Lopes <francisco@nosubstance.me>
Date: Thu, 7 Jan 2021 16:07:59 -0300
"usage" uniformity
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -37,7 +37,7 @@ $ cmake --build build
```
caps2esc - transforming the most useless key ever in the most useful one
-usage: caps2esc [-h] [-m mode] [-t delay]
+usage: caps2esc [-h | [-m mode] [-t delay]]
options:
-h show this message and exit
diff --git a/caps2esc.c b/caps2esc.c
@@ -18,7 +18,7 @@ void print_usage(FILE *stream, const char *program) {
fprintf(stream,
"caps2esc - transforming the most useless key ever in the most useful one\n"
"\n"
- "usage: %s [-h] [-m mode] [-t delay]\n"
+ "usage: %s [-h | [-m mode] [-t delay]]\n"
"\n"
"options:\n"
" -h show this message and exit\n"