1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

Only show transfer stats on commands which transfer stuff - fixes #849

This commit is contained in:
Nick Craig-Wood
2016-12-04 16:52:24 +00:00
parent 716ce49ce9
commit 2cbdb95ce5
22 changed files with 30 additions and 25 deletions

View File

@@ -18,7 +18,7 @@ var commandDefintion = &cobra.Command{
Run: func(command *cobra.Command, args []string) {
cmd.CheckArgs(1, 1, command, args)
fsrc := cmd.NewFsSrc(args)
cmd.Run(false, command, func() error {
cmd.Run(false, false, command, func() error {
return fs.ListLong(fsrc, os.Stdout)
})
},