diff --git a/godoc-current.txt b/godoc-current.txt index a3a7faca17..c7b460b307 100644 --- a/godoc-current.txt +++ b/godoc-current.txt @@ -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 diff --git a/testdata/godoc-v2.x.txt b/testdata/godoc-v2.x.txt index a3a7faca17..c7b460b307 100644 --- a/testdata/godoc-v2.x.txt +++ b/testdata/godoc-v2.x.txt @@ -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