diff --git a/README.md b/README.md index 156c4a2..f84a56d 100644 --- 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 index 262cb63..e8fcf55 100644 --- 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"