Update flag order and add -mX and -p flags in apg.go

The flag assignments in apg.go have been updated to be in alphabetic order and two new flags, `-mX` and `-p`, have been added. This change improves readability and makes maintaining the code easier, while not affecting the algorithm's functionality.
This commit is contained in:
Winni Neessen 2024-03-12 20:43:48 +01:00
parent d521defa38
commit f2a57cf46f
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

@ -169,7 +169,7 @@ func usage() {
Created 2021-2024 by Winni Neessen (MIT licensed)
apg [-a <algo>] [-m <length>] [-x <length>] [-L] [-U] [-N] [-S] [-H] [-C]
[-l] [-M mode] [-E char_string] [-n num_of_pass] [-v] [-h] [-t]
[-l] [-M mode] [-E char_string] [-n num_of_pass] [-mX number] [-t] [-p] [-v] [-h]
Flags:
-a ALGORITH Choose the password generation algorithm (Default: 1)