mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 01:35:39 +08:00
docs: fix rclone config edit docs
This commit is contained in:
parent
3f3c5f3ff4
commit
fb6a9dfbf3
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue
Block a user