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: fix rclone config edit docs

Nick Craig-Woodfb6a9dfbf3e3
diff --git a/cmd/config/config.go b/cmd/config/config.go
index fe5f4d939..fdceb382a 100644
--- a/cmd/config/config.go
+++ b/cmd/config/config.go
@@ -61,7 +61,10 @@ var configEditCommand = &cobra.Command{
Annotations: map[string]string{
"versionIntroduced": "v1.39",
},
- Run: configCommand.Run,
+ RunE: func(command *cobra.Command, args []string) error {
+ cmd.CheckArgs(0, 0, command, args)
+ return config.EditConfig(context.Background())
+ },
}
var configFileCommand = &cobra.Command{