Skip to content

Commit

Permalink
Merge pull request #1877 from kaifulee/main
Browse files Browse the repository at this point in the history
chore: fix struct name
  • Loading branch information
Juneezee committed Mar 15, 2024
2 parents f33a9e0 + 50e90e0 commit 065ea5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flag.go
Expand Up @@ -137,7 +137,7 @@ type DocGenerationFlag interface {
GetEnvVars() []string
}

// DocGenerationSliceFlag extends DocGenerationFlag for slice/map based flags.
// DocGenerationMultiValueFlag extends DocGenerationFlag for slice/map based flags.
type DocGenerationMultiValueFlag interface {
DocGenerationFlag

Expand Down
3 changes: 2 additions & 1 deletion godoc-current.txt
Expand Up @@ -567,7 +567,8 @@ type DocGenerationMultiValueFlag interface {
// IsMultiValueFlag returns true for flags that can be given multiple times.
IsMultiValueFlag() bool
}
DocGenerationSliceFlag extends DocGenerationFlag for slice/map based flags.
DocGenerationMultiValueFlag extends DocGenerationFlag for slice/map based
flags.

type DurationFlag = FlagBase[time.Duration, NoConfig, durationValue]

Expand Down
3 changes: 2 additions & 1 deletion testdata/godoc-v3.x.txt
Expand Up @@ -567,7 +567,8 @@ type DocGenerationMultiValueFlag interface {
// IsMultiValueFlag returns true for flags that can be given multiple times.
IsMultiValueFlag() bool
}
DocGenerationSliceFlag extends DocGenerationFlag for slice/map based flags.
DocGenerationMultiValueFlag extends DocGenerationFlag for slice/map based
flags.

type DurationFlag = FlagBase[time.Duration, NoConfig, durationValue]

Expand Down

0 comments on commit 065ea5c

Please sign in to comment.