Skip to content

Commit

Permalink
Merge pull request #1216 from wgumenyuk/patch-1
Browse files Browse the repository at this point in the history
Fix: typo
  • Loading branch information
coilysiren committed Jan 4, 2021
2 parents 83394fc + 57d60cd commit 2e9dc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Expand Up @@ -328,7 +328,7 @@ func (a *App) RunContext(ctx context.Context, arguments []string) (err error) {
// RunAndExitOnError calls .Run() and exits non-zero if an error was returned
//
// Deprecated: instead you should return an error that fulfills cli.ExitCoder
// to cli.App.Run. This will cause the application to exit with the given eror
// to cli.App.Run. This will cause the application to exit with the given error
// code in the cli.ExitCoder
func (a *App) RunAndExitOnError() {
if err := a.Run(os.Args); err != nil {
Expand Down

0 comments on commit 2e9dc40

Please sign in to comment.