Skip to content

Commit aee4fdd

Browse files
authored
Remove redundant (default: false) for parseFuncBody flag (#1961)
Signed-off-by: Nikita Pivkin <[email protected]>
1 parent 5c99c17 commit aee4fdd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/swag/main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,8 @@ var initFlags = []cli.Flag{
182182
Usage: "Set host state for swagger.json",
183183
},
184184
&cli.BoolFlag{
185-
Name: parseFuncBodyFlag,
186-
// Value: false,
187-
Usage: "Parse API info within body of functions in go files, disabled by default (default: false)",
185+
Name: parseFuncBodyFlag,
186+
Usage: "Parse API info within body of functions in go files, disabled by default",
188187
},
189188
}
190189

0 commit comments

Comments
 (0)