about summary refs log tree commit diff
path: root/src/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/flags.go')
-rw-r--r--src/flags.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/flags.go b/src/flags.go
index aae5004..6139eef 100644
--- a/src/flags.go
+++ b/src/flags.go
@@ -44,8 +44,6 @@ var (
 )
 
 func registerFlags() {
-	log.Printf("%s Reading flags", green("[i]"))
-
 	shortcut := " (shortcut)"
 
 	// Boolean values
@@ -146,7 +144,9 @@ func registerFlags() {
 		HideChar: parseIntList(hideChar),
 	}
 
-	log.Printf("%s Hiding: %v", cyan("[i]"), hide)
+	if verbose == true {
+		log.Printf("%s Hiding: {code: %v, line: %v, word: %v, char: %v}", cyan("[i]"), hide.HideCode, hide.HideLine, hide.HideWord, hide.HideChar)
+	}
 
 	show = Show{
 		ShowCode: parseIntList(showCode),
@@ -154,9 +154,9 @@ func registerFlags() {
 		ShowWord: parseIntList(showWord),
 		ShowChar: parseIntList(showChar),
 	}
-	log.Printf("%s Showing: %v", cyan("[i]"), show)
-
-	log.Printf("%s Done reading flags", boldGreen("[+]"))
+	if verbose == true {
+		log.Printf("%s Showing: {code: %v, line: %v, word: %v, char: %v}", cyan("[i]"), show.ShowCode, show.ShowLine, show.ShowWord, show.ShowChar)
+	}
 }
 
 // parseIntList parses the given string by spliting it at commas returning a list of all ints