Skip to content

Commit

Permalink
Stricter config
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg committed Nov 26, 2023
1 parent 080ffac commit d73d229
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ type Config struct {

// VerboseHelp if "./app help -v" is passed, default is false.
VerboseHelp bool

_ struct{} // enforce explicit field names.
}

// HasHelpFlag reports whether help flag is presented in args.
Expand Down

0 comments on commit d73d229

Please sign in to comment.