docs: fix rclone config edit docs

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

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{