diff options
author | Jakob Unterwurzacher | 2017-05-30 19:01:32 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-05-30 19:01:32 +0200 |
commit | 1e598e96fcd2ef53ab2ee1e2b408e4ebe920e59b (patch) | |
tree | 6dd5bcae81e54b4935ecda0817518eca0ee45ebc /help.go | |
parent | ca5f469ea334bc5e93e25dae11140887d77b9673 (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.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |