diff options
author | Nicholas Tay <nick@windblume.net> | 2022-01-14 00:16:54 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-01-14 00:16:54 +1100 |
commit | a2d5d3b8101a674031745c1609da2644522249c2 (patch) | |
tree | e53c2a68b2d7cb2e577794a4b48b26588a82f2d5 | |
parent | 0ae79b0b8122b99aed41c5557b2c2ce57c03b0f6 (diff) | |
download | passgen-a2d5d3b8101a674031745c1609da2644522249c2.tar.gz passgen-a2d5d3b8101a674031745c1609da2644522249c2.tar.bz2 passgen-a2d5d3b8101a674031745c1609da2644522249c2.zip |
Add --help itself to help
-rw-r--r-- | passgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -137,11 +137,12 @@ passgen - a small, customisable password generator\n\ Usage: %s\n\ %s <grammar>\n\ %s <#triplets ('Cvc')> <#symbols> <#numbers>\n\ + %s --help\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 (edit `config.h` to customise!):\n\ - - Default grammar: %s\n", argv[0], argv[0], argv[0], grammar_buf); + - Default grammar: %s\n", argv[0], 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); |