Skip to content

Commit 7a5db92

Browse files
committed
Docs: Fix docs from merged PR1498
1 parent 0d0d329 commit 7a5db92

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

godoc-current.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,9 @@ func (a *App) RunAndExitOnError()
348348
code in the cli.ExitCoder
349349

350350
func (a *App) RunAsSubcommand(ctx *Context) (err error)
351-
This is a stub function to keep public API unchanged from old code No one
352-
should really use this. Always use a.Run to execute app
351+
This is a stub function to keep public API unchanged from old code
352+
353+
Deprecated: use App.Run or App.RunContext
353354

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

testdata/godoc-v2.x.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,9 @@ func (a *App) RunAndExitOnError()
348348
code in the cli.ExitCoder
349349

350350
func (a *App) RunAsSubcommand(ctx *Context) (err error)
351-
This is a stub function to keep public API unchanged from old code No one
352-
should really use this. Always use a.Run to execute app
351+
This is a stub function to keep public API unchanged from old code
352+
353+
Deprecated: use App.Run or App.RunContext
353354

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

0 commit comments

Comments
 (0)