Skip to content

Commit

Permalink
fix panic for the flag because of -
Browse files Browse the repository at this point in the history
  • Loading branch information
lotusirous committed Dec 28, 2023
1 parent a89dd4b commit 2fccf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdsym/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func main() {
}

func run() error {
web := flag.Bool("-web", false, "support web href")
web := flag.Bool("web", false, "support web href")
flag.Parse()
deli := "."
if *web {
Expand Down

0 comments on commit 2fccf39

Please sign in to comment.