Skip to content

Commit

Permalink
Merge pull request #1532 from dearchap/fix_docs
Browse files Browse the repository at this point in the history
Docs: Fix docs from merged PR1498
  • Loading branch information
dearchap committed Oct 14, 2022
2 parents 0d0d329 + 7a5db92 commit adcd0c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions godoc-current.txt
Expand Up @@ -348,8 +348,9 @@ func (a *App) RunAndExitOnError()
code in the cli.ExitCoder

func (a *App) RunAsSubcommand(ctx *Context) (err error)
This is a stub function to keep public API unchanged from old code No one
should really use this. Always use a.Run to execute app
This is a stub function to keep public API unchanged from old code

Deprecated: use App.Run or App.RunContext

func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
RunContext is like Run except it takes a Context that will be passed to
Expand Down
5 changes: 3 additions & 2 deletions testdata/godoc-v2.x.txt
Expand Up @@ -348,8 +348,9 @@ func (a *App) RunAndExitOnError()
code in the cli.ExitCoder

func (a *App) RunAsSubcommand(ctx *Context) (err error)
This is a stub function to keep public API unchanged from old code No one
should really use this. Always use a.Run to execute app
This is a stub function to keep public API unchanged from old code

Deprecated: use App.Run or App.RunContext

func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
RunContext is like Run except it takes a Context that will be passed to
Expand Down

0 comments on commit adcd0c9

Please sign in to comment.