Skip to content

Commit

Permalink
Stricter config (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Nov 28, 2023
1 parent 805bd0c commit f083991
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 f083991

Please sign in to comment.