Skip to content

Commit

Permalink
Fix v2 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Jan 22, 2023
1 parent 9d6c243 commit a093eaa
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions docs/v2/examples/subcommands-categories.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ For additional organization in apps that have many subcommands, you can
associate a category for each command to group them together in the help
output, e.g.:

<!-- {
"output": ".*COMMANDS:\\n.*noop.*template:\\n.*add[ ]*\\n[ ]*remove.*
} -->
```go
package main

Expand Down Expand Up @@ -41,14 +44,3 @@ func main() {
}
}
```

Will include:

```
COMMANDS:
noop
Template actions:
add
remove
```

0 comments on commit a093eaa

Please sign in to comment.