Dennis Rodewyk %!s(int64=5) %!d(string=hai) anos
pai
achega
9d14136bf7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")
 		}