aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/MANPAGE.md4
-rw-r--r--main.go3
2 files changed, 7 insertions, 0 deletions
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