From b38035259b6e09c77d87950fe409fb72d09887d3 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Fri, 4 May 2018 12:33:14 +0200 Subject: Printed the short options strings in the help message. --- src/main.c | 10 +++++----- 1 file 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"); -- cgit v0.11.2-87-g4458