Dennis Rodewyk 5 年之前
父節點
當前提交
9d14136bf7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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")
 		}