Skip to content

Commit 6b0422e

Browse files
stainless-app[bot]yjp20
authored andcommitted
fix: fixed manpage generation
1 parent 4d7647b commit 6b0422e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/requestflag/requestflag.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ func (f *Flag[T]) GetUsage() string {
219219
}
220220

221221
func (f *Flag[T]) GetValue() string {
222+
if f.value == nil {
223+
return ""
224+
}
222225
return f.value.String()
223226
}
224227

0 commit comments

Comments
 (0)