diff options
-rw-r--r-- | passgen.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -140,8 +140,12 @@ Usage: %s\n\ Hints:\n\ - No arguments generates with the default grammar.\n\ - If three numbers are provided, a password will be generated in the 'standard form', <triplets><symbols><numbers>.\n\ -Compile-time options:\n\ +Compile-time options (edit `config.h` to customise!):\n\ - Default grammar: %s\n", argv[0], argv[0], argv[0], grammar_buf); + printf(" - Grammar mappings:\n"); + for (int i = 0; i < classes_n; ++i) { + printf(" - '%c' => \"%s\"\n", classes[i].c, classes[i].letters); + } return 0; } /* Take first argument as the grammar */ |