Update docs/v2/examples/flags.md
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
This commit is contained in:
parent
8467e25560
commit
a5b62b8a8b
@ -51,9 +51,8 @@ func main() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
You can also set a destination variable for a flag, to which the content will be
|
You can also set a destination variable for a flag, to which the content will be
|
||||||
scanned. Note that is the value variable is set for the flag, that will be shown
|
scanned. Note that if the `Value` is set for the flag, it will be shown as default,
|
||||||
as default for the flag and destination is set to value prior to parsing flag on the
|
and destination will be set to this value before parsing flag on the command line.
|
||||||
command line
|
|
||||||
|
|
||||||
<!-- {
|
<!-- {
|
||||||
"output": "Hello someone"
|
"output": "Hello someone"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user