From aae8117eebf6bef6b13fdf87d10aa99b861ecaf8 Mon Sep 17 00:00:00 2001 From: Francisco Lopes Date: Thu, 7 Jan 2021 16:07:59 -0300 Subject: [PATCH] "usage" uniformity --- README.md | 2 +- caps2esc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"