aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passgen.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/passgen.c b/passgen.c
index ae2b19d..6f3670d 100644
--- a/passgen.c
+++ b/passgen.c
@@ -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 */