next : use new flags logic, tags as slice of Arg
This commit is contained in:
parent
d89b48adc3
commit
109591f938
4 changed files with 41 additions and 3 deletions
|
|
@ -46,5 +46,5 @@ func ParseArgs(args []string) options {
|
|||
func Tag(args []string) {
|
||||
fmt.Printf("args: %#v\n", args)
|
||||
opts := ParseArgs(args)
|
||||
fmt.Printf("opts: %#v\n", opts)
|
||||
fmt.Println(opts)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue