Fix debug arguments
This commit is contained in:
parent
d7da0a33f9
commit
0d651024c2
4
main.go
4
main.go
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue