Skip to content

Commit

Permalink
Merge pull request #1426 from urfave/default-command-doc
Browse files Browse the repository at this point in the history
Approve v2 addition of App.DefaultCommand

@jalavosus FYI I'm merging this now with the intent to tag and push `v2.11.0`, and I'm happy to see further documentation improvements released later.
  • Loading branch information
meatballhat committed Jul 10, 2022
2 parents 2e71cb8 + d7504f8 commit 8b41988
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testdata/godoc-v2.x.txt
Expand Up @@ -269,6 +269,9 @@ type App struct {
Version string
// Description of the program
Description string
// DefaultCommand is the (optional) name of a command
// to run if no command names are passed as CLI arguments.
DefaultCommand string
// List of commands to execute
Commands []*Command
// List of flags to parse
Expand Down

0 comments on commit 8b41988

Please sign in to comment.