Skip to content

Commit

Permalink
update 2022年 9月21日 星期三 19时33分58秒 CST
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Sep 21, 2022
1 parent af87b24 commit 3d684c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,10 @@ import (
func main() {
flag.Parse()

if mod.Debug {
DebugFunc()
os.Exit(0)
}

if mod.V {
fmt.Println(mod.Version)
os.Exit(0) // 输出版本后停止
}

utils.OutputProcess()
}

func DebugFunc() {

}
2 changes: 0 additions & 2 deletions mod/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import "flag"
var (
Version = "v1.0.0"
V bool
Debug bool
Org string
Name string
List string
Expand All @@ -18,7 +17,6 @@ var (
func init() {

flag.BoolVar(&V, "version", false, "显示版本号")
flag.BoolVar(&Debug, "debug", false, "调试")
flag.StringVar(&Org, "org", "", "组织名称列表")
flag.StringVar(&Name, "name", "", "用户名称列表")
flag.StringVar(&List, "list", "", "批量拼接后缀")
Expand Down

0 comments on commit 3d684c0

Please sign in to comment.