forked from TrueCloudLab/rclone
cmd: make names of argument parsing functions more consistent
This commit is contained in:
parent
9d8d7ae1f0
commit
291954baba
7 changed files with 37 additions and 34 deletions
|
@ -30,7 +30,7 @@ empty directories in.
|
|||
`,
|
||||
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.Rmdirs(fdst, "", leaveRoot)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue