Skip to content

Commit 5be0b1f

Browse files
committed
feat: update docs
1 parent 57bfb1c commit 5be0b1f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

godoc-current.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,8 @@ type Command struct {
502502
SliceFlagSeparator string `json:"sliceFlagSeparator"`
503503
// DisableSliceFlagSeparator is used to disable SliceFlagSeparator, the default is false
504504
DisableSliceFlagSeparator bool `json:"disableSliceFlagSeparator"`
505+
// MapFlagKeyValueSeparator is used to customize the separator for MapFlag, the default is "="
506+
MapFlagKeyValueSeparator string `json:"mapFlagKeyValueSeparator"`
505507
// Boolean to enable short-option handling so user can combine several
506508
// single-character bool arguments into one
507509
// i.e. foobar -o -v -> foobar -ov

testdata/godoc-v3.x.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,8 @@ type Command struct {
502502
SliceFlagSeparator string `json:"sliceFlagSeparator"`
503503
// DisableSliceFlagSeparator is used to disable SliceFlagSeparator, the default is false
504504
DisableSliceFlagSeparator bool `json:"disableSliceFlagSeparator"`
505+
// MapFlagKeyValueSeparator is used to customize the separator for MapFlag, the default is "="
506+
MapFlagKeyValueSeparator string `json:"mapFlagKeyValueSeparator"`
505507
// Boolean to enable short-option handling so user can combine several
506508
// single-character bool arguments into one
507509
// i.e. foobar -o -v -> foobar -ov

0 commit comments

Comments
 (0)