Skip to content

Commit

Permalink
Update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatih Cetinkaya committed Nov 13, 2015
1 parent 1f625f2 commit 27b51bd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ func main() {
}
```

`$ go run examples/simple.go`
```
$ go run examples/simple.go
```
```bash
Usage: simple [OPTIONS] COMMAND [arg...]

Expand All @@ -66,13 +68,17 @@ Commands:
echo : Print the given arguments
```

`$ go run examples/simple.go -v`
```
$ go run examples/simple.go -v
```
```bash
App version : 1.0.0
Go version : go1.5.1
```

`$ go run examples/simple.go echo hello world`
```
$ go run examples/simple.go echo hello world
```
```bash
hello world
```
Expand Down

0 comments on commit 27b51bd

Please sign in to comment.