mirror of
https://github.com/rclone/rclone.git
synced 2025-07-11 14:30:44 +02:00
cmd: make names of argument parsing functions more consistent
This commit is contained in:
@ -18,7 +18,7 @@ Remove the path. Note that you can't remove a path with
|
||||
objects in it, use purge for that.`,
|
||||
Run: func(command *cobra.Command, args []string) {
|
||||
cmd.CheckArgs(1, 1, command, args)
|
||||
fdst := cmd.NewFsDst(args)
|
||||
fdst := cmd.NewFsDir(args)
|
||||
cmd.Run(true, false, command, func() error {
|
||||
return operations.Rmdir(fdst, "")
|
||||
})
|
||||
|
Reference in New Issue
Block a user