8000 Merge pull request #1532 from dearchap/fix_docs · urfave/cli@adcd0c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit adcd0c9

Browse files
authored
Merge pull request #1532 from dearchap/fix_docs
Docs: Fix docs from merged PR1498
2 parents 0d0d329 + 7a5db92 commit adcd0c9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

godoc-current.txt

Lines changed: 3 additions & 2 deletions
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

Lines changed: 3 additions & 2 deletions
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)
0