Merge branch 'main' into issue_1550

This commit is contained in:
Edelweiss-Snow
2022-11-04 18:24:15 +08:00
committed by GitHub
4 changed files with 66 additions and 7 deletions

View File

@@ -324,6 +324,11 @@ 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
// Treat all flags as normal arguments if true
SkipFlagParsing bool
// Has unexported fields.
}