Only show transfer stats on commands which transfer stuff - fixes #849
This commit is contained in:
parent
716ce49ce9
commit
2cbdb95ce5
22 changed files with 30 additions and 25 deletions
|
@ -34,7 +34,7 @@ delete all files bigger than 100MBytes.
|
|||
Run: func(command *cobra.Command, args []string) {
|
||||
cmd.CheckArgs(1, 1, command, args)
|
||||
fsrc := cmd.NewFsSrc(args)
|
||||
cmd.Run(true, command, func() error {
|
||||
cmd.Run(true, false, command, func() error {
|
||||
return fs.Delete(fsrc)
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue