MANPAGE: add "-config" flag

Also, "-plaintextnames" can be used with -zerokey.
Fix the incorrect description.
This commit is contained in:
Jakob Unterwurzacher 2015-11-14 21:31:39 +01:00
parent 58592330dc
commit 066c2c90eb
2 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,9 @@ DESCRIPTION
Options:
**-config string**
: Use specified config file instead of CIPHERDIR/gocryptfs.conf
**-cpuprofile string**
: Write cpu profile to specified file
@ -58,7 +61,7 @@ Options:
: Change password
**-plaintextnames**
: Do not encrypt file names - can only be used together with -init
: Do not encrypt file names
**-q**
: Quiet - silence informational messages

View File

@ -134,7 +134,7 @@ func main() {
flagSet.BoolVar(&args.foreground, "f", false, "Stay in the foreground")
flagSet.BoolVar(&args.version, "version", false, "Print version and exit")
flagSet.BoolVar(&args.plaintextnames, "plaintextnames", false, "Do not encrypt "+
"file names - can only be used together with -init")
"file names")
flagSet.BoolVar(&args.quiet, "q", false, "Quiet - silence informational messages")
flagSet.StringVar(&args.masterkey, "masterkey", "", "Mount with explicit master key")
flagSet.StringVar(&args.cpuprofile, "cpuprofile", "", "Write cpu profile to specified file")