aboutsummaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-05-30 19:01:32 +0200
committerJakob Unterwurzacher2017-05-30 19:01:32 +0200
commit1e598e96fcd2ef53ab2ee1e2b408e4ebe920e59b (patch)
tree6dd5bcae81e54b4935ecda0817518eca0ee45ebc /help.go
parentca5f469ea334bc5e93e25dae11140887d77b9673 (diff)
main: add "-info" option
Pretty-prints the config while stripping out sensitive (and uninteresting) data https://github.com/rfjakob/gocryptfs/issues/111
Diffstat (limited to 'help.go')
-rw-r--r--help.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/help.go b/help.go
index 378c380..714fcbf 100644
--- a/help.go
+++ b/help.go
@@ -7,7 +7,7 @@ import (
)
const tUsage = "" +
- "Usage: " + tlog.ProgramName + " -init|-passwd [OPTIONS] CIPHERDIR\n" +
+ "Usage: " + tlog.ProgramName + " -init|-passwd|-info [OPTIONS] CIPHERDIR\n" +
" or " + tlog.ProgramName + " [OPTIONS] CIPHERDIR MOUNTPOINT\n"
// helpShort is what gets displayed when passed "-h" or on syntax error.
@@ -27,6 +27,7 @@ Common Options (use -hh to show all):
-h, -help This short help text
-hh Long help text with all options
-init Initialize encrypted directory
+ -info Display information about encrypted directory
-masterkey Mount with explicit master key instead of password
-nonempty Allow mounting over non-empty directory
-nosyslog Do not redirect log messages to syslog