JMS #4: More WIP
This commit is contained in:
parent
3b0fc03a67
commit
04496e4364
6
cli.go
6
cli.go
@ -22,7 +22,11 @@ var Action = ShowHelp
|
||||
func Run(args []string) {
|
||||
|
||||
set := flagSet(Flags)
|
||||
set.Parse(args[1:])
|
||||
err := set.Parse(args[1:])
|
||||
if err != nil {
|
||||
println(err)
|
||||
return
|
||||
}
|
||||
|
||||
context := NewContext(set)
|
||||
if len(args) > 1 {
|
||||
|
Loading…
Reference in New Issue
Block a user