diff options
author | Jakob Unterwurzacher | 2018-08-11 23:26:49 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-08-11 23:26:49 +0200 |
commit | ec2fdc19cf9358ae7ba09c528a5807b6b0760f9b (patch) | |
tree | 1a9a26d9f70ac26f3df2c44a6e5ed6ff9108ab76 /main.go | |
parent | eaa5aecd422bc4f6b01b6257383521ad512e08f7 (diff) |
reverse mode: add --exclude option
https://github.com/rfjakob/gocryptfs/issues/235
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -212,6 +212,11 @@ func main() { // "-reverse" implies "-aessiv" if args.reverse { args.aessiv = true + } else { + if args.exclude != nil { + tlog.Fatal.Printf("-exclude only works in reverse mode") + os.Exit(exitcodes.ExcludeError) + } } // "-config" if args.config != "" { |