commit | 8c479d7744eb3c43225d2117beb46b453c83e1f3 | [log] [tgz] |
---|---|---|
author | Andrew Jackura <ajackura@google.com> | Mon Feb 29 07:06:45 2016 -0500 |
committer | Andrew Jackura <ajackura@google.com> | Mon Feb 29 07:06:45 2016 -0500 |
tree | 46817e65ea6630cfd6eb5fcb4d049b8fd4a14245 | |
parent | 469c15c3efc8dc7b0fab861dd37b4967b90e703c [diff] | |
parent | 79ca8c76e24ed1ef1272b85d8d00872f547a8d00 [diff] |
Merge pull request #2 from kotakanbe/patch-1 update README.md
diff --git a/README.md b/README.md index 943fac5..8205f5e 100644 --- a/README.md +++ b/README.md
@@ -56,8 +56,9 @@ subcommands.Register(subcommands.HelpCommand(), "") subcommands.Register(subcommands.FlagsCommand(), "") subcommands.Register(subcommands.CommandsCommand(), "") - subcommands.Register(&print{}, "") + subcommands.Register(&printCmd{}, "") + flag.Parse() ctx := context.Background() os.Exit(int(subcommands.Execute(ctx))) }