commit | 6d320cbca5f5d8baac833a124259fb9fa598f253 | [log] [tgz] |
---|---|---|
author | Timothy Cyrus <tcyrus@users.noreply.github.com> | Thu Feb 25 09:19:19 2016 -0500 |
committer | Timothy Cyrus <tcyrus@users.noreply.github.com> | Thu Feb 25 09:19:19 2016 -0500 |
tree | 5a882710b82441102926a29cdef13b99566fe6ba | |
parent | 24b16f685f730742358af168eb4670cecd40bb7d [diff] |
Update README.md Added Syntax Highlighting
diff --git a/README.md b/README.md index 5411a8a..943fac5 100644 --- a/README.md +++ b/README.md
@@ -9,7 +9,7 @@ Set up a 'print' subcommand: -``` +```go import ( "flag" "fmt" @@ -51,7 +51,7 @@ Register using the default Commander, also use some built in subcommands, finally run Execute using ExitStatus as the exit code: -``` +```go func main() { subcommands.Register(subcommands.HelpCommand(), "") subcommands.Register(subcommands.FlagsCommand(), "")