Skip to content

Commit a5b62b8

Browse files
dearchapabitrolly
andauthored
Update docs/v2/examples/flags.md
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
1 parent 8467e25 commit a5b62b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/v2/examples/flags.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ func main() {
5151
```
5252

5353
You can also set a destination variable for a flag, to which the content will be
54-
scanned. Note that is the value variable is set for the flag, that will be shown
55-
as default for the flag and destination is set to value prior to parsing flag on the
56-
command line
54+
scanned. Note that if the `Value` is set for the flag, it will be shown as default,
55+
and destination will be set to this value before parsing flag on the command line.
5756

5857
<!-- {
5958
"output": "Hello someone"

0 commit comments

Comments
 (0)