mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-14 08:33:33 +02:00
udpate deps
This commit is contained in:
+3
@@ -402,6 +402,9 @@ func (a *Application) setDefaults(context *ParseContext) error {
|
||||
flagElements := map[string]*ParseElement{}
|
||||
for _, element := range context.Elements {
|
||||
if flag, ok := element.Clause.(*FlagClause); ok {
|
||||
if flag.name == "help" {
|
||||
return nil
|
||||
}
|
||||
flagElements[flag.name] = element
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user