Skip to content

Commit 9430e12

Browse files
committed
Updating readme
1 parent e228d96 commit 9430e12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ class MyTap(Tap):
179179
```
180180

181181
#### Adding subparsers
182-
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`.
183-
For example,
182+
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,
184183

185184
```python
186185
class SubparserA(Tap):

0 commit comments

Comments
 (0)