mirror of
https://github.com/rclone/rclone.git
synced 2025-06-05 12:00:19 +08:00
cmd: make names of argument parsing functions more consistent
This commit is contained in:
@ -20,7 +20,7 @@ you want to selectively delete files.
|
||||
`,
|
||||
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.Purge(fdst, "")
|
||||
})
|
||||
|
Reference in New Issue
Block a user