Skip to content

Commit

Permalink
refactor(flags): Updating usage
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed May 28, 2023
1 parent f5b5e74 commit 4d57fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/fibr/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ type configuration struct {

func newConfig() (configuration, error) {
fs := flag.NewFlagSet("fibr", flag.ExitOnError)
fs.Usage = flags.Usage(fs)

return configuration{
appServer: server.Flags(fs, "", flags.NewOverride("ReadTimeout", time.Minute*2), flags.NewOverride("WriteTimeout", time.Minute*2)),
Expand Down

0 comments on commit 4d57fc9

Please sign in to comment.