Browse Source

watch: adjust output format

pull/1459/head
Chris Lu 4 years ago
parent
commit
47b3f932e4
  1. 2
      weed/command/watch.go

2
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)
}
})

Loading…
Cancel
Save