Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: don't show fully hidden backend options in the backend docs

Nick Craig-Wood3bb1cadc239c
diff --git a/cmd/help.go b/cmd/help.go
index 73fc108a7..25ee669a8 100644
--- a/cmd/help.go
+++ b/cmd/help.go
@@ -292,6 +292,10 @@ func showBackend(name string) {
continue
}
done[opt.Name] = struct{}{}
+ // Skip options hidden from both the command line and the configurator
+ if opt.Hide&fs.OptionHideBoth == fs.OptionHideBoth {
+ continue
+ }
if opt.Advanced {
advancedOptions = append(advancedOptions, opt)
} else {