Update docs/v2/examples/flags.md

Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
main
dearchap 2 years ago committed by GitHub
parent 8467e25560
commit a5b62b8a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,9 +51,8 @@ func main() {
```
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
as default for the flag and destination is set to value prior to parsing flag on the
command line
scanned. Note that if the `Value` is set for the flag, it will be shown as default,
and destination will be set to this value before parsing flag on the command line.
<!-- {
"output": "Hello someone"

Loading…
Cancel
Save