FIx: Allow ext flags to be opt-out by default rather than opt-in

This commit is contained in:
Naveen Gogineni
2022-11-01 17:44:12 -04:00
parent ae8d932413
commit fb3a9cebb4
4 changed files with 41 additions and 7 deletions

View File

@@ -324,6 +324,9 @@ type App struct {
UseShortOptionHandling bool
// Enable suggestions for commands and flags
Suggest bool
// Allows global flags set by libraries which use flag.XXXVar(...) directly
// to be parsed through this library
AllowExtFlags bool
// Has unexported fields.
}