Skip to content
Snippets Groups Projects
Commit 6d320cbc authored by Timothy Cyrus's avatar Timothy Cyrus
Browse files

Update README.md

Added Syntax Highlighting
parent 24b16f68
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ This is not an official Google product.
Set up a 'print' subcommand:
```
```go
import (
"flag"
"fmt"
......@@ -51,7 +51,7 @@ func (p *printCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{})
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(), "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment