flags : can check for both Flag types because the value.FieldByName().Type() can be printed
This commit is contained in:
parent
869ca3c290
commit
0d32446986
4 changed files with 10 additions and 15 deletions
|
|
@ -41,6 +41,5 @@ func parseArgs(args []string) options {
|
|||
}
|
||||
|
||||
func Next(args []string) {
|
||||
opts := parseArgs(args)
|
||||
fmt.Println(opts)
|
||||
_ = parseArgs(args)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue