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

help/showBackend: fixed advanced option category when there are no standard options

buengese898782ac3595
diff --git a/cmd/help.go b/cmd/help.go
index 04e42d640..865cc3ae8 100644
--- a/cmd/help.go
+++ b/cmd/help.go
@@ -300,6 +300,7 @@ func showBackend(name string) {
optionsType := "standard"
for _, opts := range []fs.Options{standardOptions, advancedOptions} {
if len(opts) == 0 {
+ optionsType = "advanced"
continue
}
fmt.Printf("### %s Options\n\n", strings.Title(optionsType))