From 7a5a74cecb265f8440672a9ff9843b544d28e2b9 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 28 Feb 2020 11:14:05 +0000 Subject: [PATCH] crypt: clarify that directory_name_encryption depends on filename_encryption See: https://forum.rclone.org/t/directory-name-encryption-is-set-to-always-false-when-choosing-filename-encryption-off/14600 --- backend/crypt/crypt.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/crypt/crypt.go b/backend/crypt/crypt.go index eabb2623e..a3bac32e9 100644 --- a/backend/crypt/crypt.go +++ b/backend/crypt/crypt.go @@ -47,8 +47,10 @@ func init() { }, }, }, { - Name: "directory_name_encryption", - Help: "Option to either encrypt directory names or leave them intact.", + Name: "directory_name_encryption", + Help: `Option to either encrypt directory names or leave them intact. + +NB If filename_encryption is "off" then this option will do nothing.`, Default: true, Examples: []fs.OptionExample{ {