diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md index 63f86cf..fa275f6 100644 --- a/Documentation/MANPAGE.md +++ b/Documentation/MANPAGE.md @@ -201,6 +201,10 @@ Options: : Use all-zero dummy master key. This options is only intended for automated testing as it does not provide any security. +**--** +: Stop option parsing. Helpful when CIPHERDIR may start with a + dash "-". + EXAMPLES ======== diff --git a/main.go b/main.go index 4230d94..bb47e46 100644 --- a/main.go +++ b/main.go @@ -48,6 +48,9 @@ Options: `, tlog.ProgramName, tlog.ProgramName) flagSet.PrintDefaults() + fmt.Print(` -- + Stop option parsing +`) } // loadConfig loads the config file "args.config", prompting the user for the password