diff --git a/app.go b/app.go index 8701320..3d4ed12 100644 --- a/app.go +++ b/app.go @@ -79,7 +79,7 @@ func NewApp() *App { // Entry point to the cli app. Parses the arguments slice and routes to the proper flag/args combination func (a *App) Run(arguments []string) (err error) { if a.Author != "" || a.Email != "" { - a.Authors = append(a.Authors, Author{a.Author, a.Email}) + a.Authors = append(a.Authors, Author{Name: a.Author, Email: a.Email}) } if HelpPrinter == nil {