Dennis Rodewyk há 5 anos atrás
pai
commit
9d14136bf7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      hugo-encrypt.go

+ 1 - 1
hugo-encrypt.go

@@ -64,7 +64,7 @@ func encryptPage(path string) {
 }
 
 func main() {
-	if os.Args[1] != true {
+	if !(os.Args[1]) {
 		flag.Usage = func() {
 			fmt.Println("Lol")
 		}