- Watch now avoids an unnecessary waitgroup and simplifies overall flow.
- Watch now honors maxDepth parameter as well.
- Parsing logic is fully outside in the mainFind() function.
- Enhance and fix behavior of nameMatch to comply with unix
find behavior.
- Enhance and fix behavior of maxdepth to comply with unix
find behavior.
Fixes#2272
Currently `mc find` didn't honor `--json` flag properly,
this PR addresses that.
Additionally also take care of `List` returning errors
and handle them appropriately.
Fixes#2252