JMS #4: More WIP
This commit is contained in:
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 {
|
||||
|
Reference in New Issue
Block a user