go/src/flag
Sebastian Gassner 9a4d5357f4 flag: highlight support for double dashes in docs
Updating examples, to show that double dashes are also permitted. This has been easy to miss previously.

Change-Id: Ib67b4e39fea90ef4cb9e894709c53baedfc18fc2
GitHub-Last-Rev: f7df57b646
GitHub-Pull-Request: golang/go#53628
Reviewed-on: https://go-review.googlesource.com/c/go/+/415374
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2022-07-01 15:37:46 +00:00
..
example_func_test.go
example_test.go
example_textvar_test.go flag: add TextVar function 2022-03-10 16:56:17 +00:00
example_value_test.go
export_test.go flag: make tests silent 2022-03-07 09:29:14 +00:00
flag.go flag: highlight support for double dashes in docs 2022-07-01 15:37:46 +00:00
flag_test.go flag: recover panic when calling String on zero value in PrintDefaults 2022-04-01 03:43:34 +00:00