aboutsummaryrefslogtreecommitdiff
path: root/cli_args.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-10-08 20:57:38 +0200
committerJakob Unterwurzacher2016-10-08 20:57:38 +0200
commitf054353bd3b05ab0d3d024ec8fa809bc5fed1d08 (patch)
treed5dfcccc3035e552449c4796207920fd4f1275e4 /cli_args.go
parentdde4a66454107709a7309ca5047ceb0ecf3c0b9f (diff)
reverse: make gocryptfs.conf mapping plaintextnames-aware
Only in plaintextnames-mode AND with the config file at the default location it will be mapped into the mountpoint. Also adds a test for that.
Diffstat (limited to 'cli_args.go')
-rw-r--r--cli_args.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli_args.go b/cli_args.go
index dd570d3..d80e937 100644
--- a/cli_args.go
+++ b/cli_args.go
@@ -20,6 +20,9 @@ type argContainer struct {
// Configuration file name override
config string
notifypid, scryptn int
+ // _configCustom is true when the user sets a custom config file name.
+ // This is not a CLI option.
+ _configCustom bool
}
var flagSet *flag.FlagSet