Skip to content

Commit

Permalink
Remove redundant (default: false) for parseFuncBody flag
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Pivkin <[email protected]>
  • Loading branch information
nikpivkin committed Jan 14, 2025
1 parent 94ff0fc commit 35f797b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/swag/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,8 @@ var initFlags = []cli.Flag{
Usage: "Set host state for swagger.json",
},
&cli.BoolFlag{
Name: parseFuncBodyFlag,
// Value: false,
Usage: "Parse API info within body of functions in go files, disabled by default (default: false)",
Name: parseFuncBodyFlag,
Usage: "Parse API info within body of functions in go files, disabled by default",
},
}

Expand Down

0 comments on commit 35f797b

Please sign in to comment.