Do not display Dupes title when using JSON output
authorMikael Berthe <mikael@lilotux.net>
Thu, 29 Nov 2018 21:51:26 +0100
changeset 43 95d940f9598e
parent 42 3fa13770e970
child 44 af90d9396ef1
Do not display Dupes title when using JSON output
goduf.go
--- a/goduf.go	Sun Oct 14 17:27:37 2018 +0200
+++ b/goduf.go	Thu Nov 29 21:51:26 2018 +0100
@@ -508,7 +508,7 @@
 	myLog.Println(3, "* Number of match groups:", len(result))
 
 	// Done!  Prepare results data
-	if len(result) > 0 && !options.Summary {
+	if len(result) > 0 && !options.Summary && !options.OutToJSON {
 		myLog.Println(1, "* Dupes:")
 	}