Dennis Rodewyk il y a 5 ans
Parent
commit
9d14136bf7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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")
 		}