Merge pull request #943 from saschagrunert/docs-fix

Fix gofmrun for v2 manual
This commit is contained in:
lynn [they] 2019-11-24 18:27:00 -08:00 committed by GitHub
commit 4805bd168c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1404,17 +1404,6 @@ func main() {
cli.ShowSubcommandHelp(c)
cli.ShowVersion(c)
categories := c.App.Categories
categories.AddCommand("sounds", &cli.Command{
Name: "bloop",
})
for _, category := range c.App.Categories.Categories() {
fmt.Fprintf(c.App.Writer, "%s\n", category.Name)
fmt.Fprintf(c.App.Writer, "%#v\n", category.VisibleCommands())
fmt.Fprintf(c.App.Writer, "%#v\n", category.VisibleCommands())
}
fmt.Printf("%#v\n", c.App.Command("doo"))
if c.Bool("infinite") {
c.App.Run([]string{"app", "doo", "wop"})