From 47b3f932e4175c6e7479252d5d6073789495a509 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 9 Sep 2020 22:34:48 -0700 Subject: [PATCH] watch: adjust output format --- weed/command/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/watch.go b/weed/command/watch.go index 3bee0eabe..fd7dd6fb2 100644 --- a/weed/command/watch.go +++ b/weed/command/watch.go @@ -101,7 +101,7 @@ func runWatch(cmd *Command, args []string) bool { if !shouldPrint(resp) { continue } - fmt.Printf("%+v\n", resp.EventNotification) + fmt.Printf("dir:%s %+v\n", resp.Directory, resp.EventNotification) } })