From f2a57cf46fe8182ff0be5e4f3ee69e9990b36b6b Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Tue, 12 Mar 2024 20:43:48 +0100 Subject: [PATCH] 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. --- cmd/apg/apg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/apg/apg.go b/cmd/apg/apg.go index 8b9b53e..8d780f9 100644 --- a/cmd/apg/apg.go +++ b/cmd/apg/apg.go @@ -169,7 +169,7 @@ func usage() { Created 2021-2024 by Winni Neessen (MIT licensed) apg [-a ] [-m ] [-x ] [-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)