summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-05-04 10:33:14 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-05-04 10:33:14 (GMT)
commitb38035259b6e09c77d87950fe409fb72d09887d3 (patch)
treec27023ae66df0a3d59b6b6d08877a08d5d9bd759 /src
parentb27e8722dedfb3ace06280db985347de60a3906f (diff)
Printed the short options strings in the help message.
Diffstat (limited to 'src')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 793a735..018651a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -86,14 +86,14 @@ static void show_chrysalide_help(const char *name)
printf("\n");
- printf("\t--help\t\tShow this help message.\n");
- printf("\t--version\tDisplay the program version.\n");
+ printf("\t-h --help\t\tShow this help message.\n");
+ printf("\t-v --version\t\tDisplay the program version.\n");
printf("\n");
- printf("\t--verbosity=level\tSet the log level (0 for all messages, %u for none).\n", LMT_COUNT);
- printf("\t--batch\t\t\tExit after processing files.\n");
- printf("\t--project=filename\tOpen an existing project or create a new one.\n");
+ printf("\t-V --verbosity=level\tSet the log level (0 for all messages, %u for none).\n", LMT_COUNT);
+ printf("\t-b --batch\t\tExit after processing files.\n");
+ printf("\t-p --project=filename\tOpen an existing project or create a new one.\n");
printf("\n");