Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
swansonk14 committed Oct 7, 2020
1 parent e228d96 commit 9430e12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ class MyTap(Tap):
```

#### Adding subparsers
In the `configure` method, call `self.add_subparsers` to set up the subparsers (e.g., to add a help string). Then add each subparser with `self.add_subparser`.
For example,
To add a subparser, override the `configure` method and call `self.add_subparser`. Optionally, to specify keyword arguments (e.g., `help`) to the subparser collection, call `self.add_subparsers`. For example,

```python
class SubparserA(Tap):
Expand Down

0 comments on commit 9430e12

Please sign in to comment.