--- a/goduf.go Thu Nov 29 21:51:26 2018 +0100
+++ b/goduf.go Sat Dec 01 22:46:09 2018 +0100
@@ -508,8 +508,12 @@
myLog.Println(3, "* Number of match groups:", len(result))
// Done! Prepare results data
- if len(result) > 0 && !options.Summary && !options.OutToJSON {
- myLog.Println(1, "* Dupes:")
+ if len(result) > 0 && !options.Summary {
+ if options.OutToJSON {
+ myLog.Println(1, "* Dumping dupes as JSON...")
+ } else {
+ myLog.Println(1, "* Dupes:")
+ }
}
// Sort files by path inside each group