1
0
Fork 0

Fix debug arguments

This commit is contained in:
Gregory Eremin 2020-08-28 17:45:00 +02:00
parent d7da0a33f9
commit 0d651024c2
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ func main() {
if primary != "" && primary != unified { if primary != "" && primary != unified {
unified = primary unified = primary
setVal(unified) setVal(unified)
if *debug { if *debug || *lotsofDebug {
fmt.Println("Setting clip to", unified) fmt.Println("Setting clip to", unified)
} }
continue continue
@ -41,7 +41,7 @@ func main() {
if selection != "" && selection != unified { if selection != "" && selection != unified {
unified = selection unified = selection
setVal(unified, "-p") setVal(unified, "-p")
if *debug { if *debug || *lotsofDebug {
fmt.Println("Setting primary to", unified) fmt.Println("Setting primary to", unified)
} }
} }