Skip to content

Commit 00a9d31

Browse files
authored
Merge pull request #1738 from urfave/v2-fix-doc-func-name
Fix func name referenced in doc comment
2 parents 24fa0fd + a35e560 commit 00a9d31

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func (a *App) RunContext(ctx context.Context, arguments []string) (err error) {
333333
}
334334

335335
// RunAsSubcommand is for legacy/compatibility purposes only. New code should only
336-
// use App.RunContextMost. This function is slated to be removed in v3
336+
// use App.RunContext. This function is slated to be removed in v3.
337337
func (a *App) RunAsSubcommand(ctx *Context) (err error) {
338338
a.Setup()
339339

godoc-current.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ func (a *App) RunAndExitOnError()
358358

359359
func (a *App) RunAsSubcommand(ctx *Context) (err error)
360360
RunAsSubcommand is for legacy/compatibility purposes only. New code should
361-
only use App.RunContextMost. This function is slated to be removed in v3
361+
only use App.RunContext. This function is slated to be removed in v3.
362362

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

testdata/godoc-v2.x.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ func (a *App) RunAndExitOnError()
358358

359359
func (a *App) RunAsSubcommand(ctx *Context) (err error)
360360
RunAsSubcommand is for legacy/compatibility purposes only. New code should
361-
only use App.RunContextMost. This function is slated to be removed in v3
361+
only use App.RunContext. This function is slated to be removed in v3.
362362

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

0 commit comments

Comments
 (0)