func main() { gnuflag.Parse(true) name := cmd.ExtractProgramName(os.Args[0]) manager := buildManager(name) args := gnuflag.Args() manager.Run(args) }
func main() { name := cmd.ExtractProgramName(os.Args[0]) manager := buildManager(name) manager.Run(os.Args[1:]) }