Skip to content

Commit 2f662c8

Browse files
committed
docs: update testdata/godoc-v3.x.txt for BoolWithInverseFlag alias support
Sync the v3.x reference godoc file with the generated output. Signed-off-by: wucm667 <stevenwucongmin@gmail.com>
1 parent b6aec8e commit 2f662c8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

testdata/godoc-v3.x.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,9 @@ func (bif *BoolWithInverseFlag) String() string
414414

415415
Example for BoolFlag{Name: "env"} --[no-]env (default: false)
416416

417+
Example for BoolFlag{Name: "env", Aliases: []string{"e"}} --[no-]env,
418+
-e (default: false)
419+
417420
func (bif *BoolWithInverseFlag) TakesValue() bool
418421

419422
func (bif *BoolWithInverseFlag) TypeName() string

0 commit comments

Comments
 (0)