Update docs
This commit is contained in:
parent
b75c1aa07d
commit
af60ce5f44
@ -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)
|
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
|
```go
|
||||||
package main
|
package main
|
||||||
@ -129,7 +129,7 @@ func main() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
Action: func(cCtx *cli.Context) error {
|
Action: func(cCtx *cli.Context) error {
|
||||||
fmt.Println("Count %d", count)
|
fmt.Println("Count ", count)
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user