Skip to content

Commit cf49ddb

Browse files
authored
Merge pull request #1539 from urfave/issue_1276
Docs:(issue_1276) Make destination/value/default text clear
2 parents 5ac0710 + a5b62b8 commit cf49ddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/v2/examples/flags.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +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.
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.
5556

5657
<!-- {
5758
"output": "Hello someone"

0 commit comments

Comments
 (0)