Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Sep 6, 2022
1 parent b75c1aa commit af60ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v2/examples/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ See full list of flags at https://pkg.go.dev/github.com/urfave/cli/v2
For bool flags you can specify the flag multiple times to get a count(e.g -v -v -v or -vvv)

<!-- {
"output": "count 1"
"output": "count 0"
} -->
```go
package main
Expand All @@ -129,7 +129,7 @@ func main() {
},
},
Action: func(cCtx *cli.Context) error {
fmt.Println("Count %d", count)
fmt.Println("Count ", count)
return nil
},
}
Expand Down

0 comments on commit af60ce5

Please sign in to comment.