Add SkipFlagParsing to app

This commit is contained in:
Naveen Gogineni
2022-11-01 17:55:45 -04:00
parent bb820560d9
commit 13cc7677ab
4 changed files with 13 additions and 10 deletions

View File

@@ -327,6 +327,8 @@ type App struct {
// Allows global flags set by libraries which use flag.XXXVar(...) directly
// to be parsed through this library
AllowExtFlags bool
// Treat all flags as normal arguments if true
SkipFlagParsing bool
// Has unexported fields.
}