From 135ae562d2cdac9d3d79869328251bce6178fdac Mon Sep 17 00:00:00 2001 From: rootphantomer Date: Wed, 7 Sep 2022 18:13:23 +0800 Subject: [PATCH] fix bug --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index fe23f37..200da26 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,7 @@ * @Author: ph4nt0mer * @Date: 2022-08-31 17:03:03 * @LastEditors: rootphantomer - * @LastEditTime: 2022-09-07 16:46:26 + * @LastEditTime: 2022-09-07 18:00:02 * @FilePath: /quake_go/main.go * @Description: * @@ -41,7 +41,7 @@ func hflag_init() { panic(err) } num := len(os.Args) - if num < 3 { + if num < 2 { fmt.Println("./quake -h get help!") return }