diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-05-04 10:33:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-05-04 10:33:14 (GMT) |
commit | b38035259b6e09c77d87950fe409fb72d09887d3 (patch) | |
tree | c27023ae66df0a3d59b6b6d08877a08d5d9bd759 /src | |
parent | b27e8722dedfb3ace06280db985347de60a3906f (diff) |
Printed the short options strings in the help message.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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"); |