docs: fix rclone config edit docs

This commit is contained in:
Nick Craig-Wood 2023-08-02 09:23:32 +01:00
parent b10305bfe7
commit e96813d8dc

View File

@ -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{