Skip to content

Commit

Permalink
Merge pull request #1738 from urfave/v2-fix-doc-func-name
Browse files Browse the repository at this point in the history
Fix func name referenced in doc comment
  • Loading branch information
dearchap authored May 27, 2023
2 parents 24fa0fd + a35e560 commit 00a9d31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func (a *App) RunContext(ctx context.Context, arguments []string) (err error) {
}

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

Expand Down
2 changes: 1 addition & 1 deletion godoc-current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (a *App) RunAndExitOnError()

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

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
2 changes: 1 addition & 1 deletion testdata/godoc-v2.x.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (a *App) RunAndExitOnError()

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

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 00a9d31

Please sign in to comment.