Document "--" to stop option parsing in help text + man page

This commit is contained in:
Jakob Unterwurzacher 2017-02-12 12:49:04 +01:00
parent dc2dc9f88c
commit 1e9d735406
2 changed files with 7 additions and 0 deletions

View File

@ -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
========

View File

@ -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