From 7a5db9223da7e4b8b7a75501291eded00b2ff910 Mon Sep 17 00:00:00 2001 From: Naveen Gogineni Date: Fri, 14 Oct 2022 17:13:13 -0400 Subject: [PATCH] Docs: Fix docs from merged PR1498 --- godoc-current.txt | 5 +++-- testdata/godoc-v2.x.txt | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/godoc-current.txt b/godoc-current.txt index 73251e3615..975819fc95 100644 --- a/godoc-current.txt +++ b/godoc-current.txt @@ -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 diff --git a/testdata/godoc-v2.x.txt b/testdata/godoc-v2.x.txt index 73251e3615..975819fc95 100644 --- a/testdata/godoc-v2.x.txt +++ b/testdata/godoc-v2.x.txt @@ -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