From a5b62b8a8ba7fbe4a62dcc8565a3475463c05fa5 Mon Sep 17 00:00:00 2001 From: dearchap Date: Wed, 19 Oct 2022 09:31:17 -0400 Subject: [PATCH] Update docs/v2/examples/flags.md Co-authored-by: Anatoli Babenia --- docs/v2/examples/flags.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/v2/examples/flags.md b/docs/v2/examples/flags.md index 00e8c203c4..873c6ff7e7 100644 --- a/docs/v2/examples/flags.md +++ b/docs/v2/examples/flags.md @@ -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.