Only show transfer stats on commands which transfer stuff - fixes #849
This commit is contained in:
@@ -20,7 +20,7 @@ versions. Not supported by all remotes.
|
||||
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.CleanUp(fsrc)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user