Skip to content

Commit f083991

Browse files
authored
Stricter config (#57)
1 parent 805bd0c commit f083991

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

acmd.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ type Config struct {
107107

108108
// VerboseHelp if "./app help -v" is passed, default is false.
109109
VerboseHelp bool
110+
111+
_ struct{} // enforce explicit field names.
110112
}
111113

112114
// HasHelpFlag reports whether help flag is presented in args.

0 commit comments

Comments
 (0)