flags : can check for both Flag types because the value.FieldByName().Type() can be printed

This commit is contained in:
bth 2026-01-18 18:29:34 -08:00
commit 0d32446986
4 changed files with 10 additions and 15 deletions

View file

@ -41,6 +41,5 @@ func parseArgs(args []string) options {
}
func Next(args []string) {
opts := parseArgs(args)
fmt.Println(opts)
_ = parseArgs(args)
}