From 5930441699934a561d12bacb5fb7e353e1b4e356 Mon Sep 17 00:00:00 2001 From: ZainnQureshii <43629888+ZainnQureshii@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:14:49 +0200 Subject: [PATCH] b2,s3,azurefiles,drive: fix flag names in option help The help for these options named flags that do not exist, so copying them gives "unknown flag": --sse-customer-key(-base64) is --b2-/--s3-sse-customer-key(-base64), --azurefile-upload-concurrency is --azurefiles-upload-concurrency and --ignore size is --ignore-size. Co-Authored-By: Claude Opus 5.5 --- backend/azurefiles/azurefiles.go | 4 ++-- backend/b2/b2.go | 4 ++-- backend/drive/drive.go | 2 +- backend/s3/s3.go | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/azurefiles/azurefiles.go b/backend/azurefiles/azurefiles.go index ee750df98..92b5d38c3 100644 --- a/backend/azurefiles/azurefiles.go +++ b/backend/azurefiles/azurefiles.go @@ -79,7 +79,7 @@ This is required and is the name of the share to access. Help: `Upload chunk size. Note that this is stored in memory and there may be up to -"--transfers" * "--azurefile-upload-concurrency" chunks stored at once +"--transfers" * "--azurefiles-upload-concurrency" chunks stored at once in memory.`, Default: defaultChunkSize, Advanced: true, @@ -95,7 +95,7 @@ links and these uploads do not fully utilize your bandwidth, then increasing this may help to speed up the transfers. Note that chunks are stored in memory and there may be up to -"--transfers" * "--azurefile-upload-concurrency" chunks stored at once +"--transfers" * "--azurefiles-upload-concurrency" chunks stored at once in memory.`, Default: 16, Advanced: true, diff --git a/backend/b2/b2.go b/backend/b2/b2.go index 1b2515ed9..c918aef70 100644 --- a/backend/b2/b2.go +++ b/backend/b2/b2.go @@ -277,7 +277,7 @@ See: [rclone backend lifecycle](#lifecycle) for setting lifecycles after bucket Name: "sse_customer_key", Help: `To use SSE-C, you may provide the secret encryption key encoded in a UTF-8 compatible string to encrypt/decrypt your data -Alternatively you can provide --sse-customer-key-base64.`, +Alternatively you can provide --b2-sse-customer-key-base64.`, Advanced: true, Examples: []fs.OptionExample{{ Value: "", @@ -288,7 +288,7 @@ Alternatively you can provide --sse-customer-key-base64.`, Name: "sse_customer_key_base64", Help: `To use SSE-C, you may provide the secret encryption key encoded in Base64 format to encrypt/decrypt your data -Alternatively you can provide --sse-customer-key.`, +Alternatively you can provide --b2-sse-customer-key.`, Advanced: true, Examples: []fs.OptionExample{{ Value: "", diff --git a/backend/drive/drive.go b/backend/drive/drive.go index 22daf9571..2ae46889a 100644 --- a/backend/drive/drive.go +++ b/backend/drive/drive.go @@ -568,7 +568,7 @@ recommended usage is using the flag form --drive-size-as-quota when doing rclone ls/lsl/lsf/lsjson/etc only. If you do use this flag for syncing (not recommended) then you will -need to use --ignore size also.`, +need to use --ignore-size also.`, Advanced: true, Hide: fs.OptionHideConfigurator, }, { diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 5e12ba6d2..b69942121 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -190,7 +190,7 @@ header is added and the default (private) will be used. Name: "sse_customer_key", Help: `To use SSE-C you may provide the secret encryption key used to encrypt/decrypt your data. -Alternatively you can provide --sse-customer-key-base64.`, +Alternatively you can provide --s3-sse-customer-key-base64.`, Advanced: true, Examples: []fs.OptionExample{{ Value: "", @@ -201,7 +201,7 @@ Alternatively you can provide --sse-customer-key-base64.`, Name: "sse_customer_key_base64", Help: `If using SSE-C you must provide the secret encryption key encoded in base64 format to encrypt/decrypt your data. -Alternatively you can provide --sse-customer-key.`, +Alternatively you can provide --s3-sse-customer-key.`, Advanced: true, Examples: []fs.OptionExample{{ Value: "",