Skip to content

Commit 5b9e3a1

Browse files
Update docs/features/argument_processing.md
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 742cddb commit 5b9e3a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/features/argument_processing.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ def do_speak(self, opts):
6565

6666
`cmd2` sets the `prog` variable in the argument parser based on the name of the method it is decorating. This will override anything you specify in `prog` variable when creating the argument parser.
6767

68-
As of the 3.0.0 release, `cmd2` now sets `prog` later than it did previously. `prog` now gets set when the instance-specific parser deep-copy is created. Previously, it was set in the `with_argparser` decorator itself.
69-
68+
As of the 3.0.0 release, `cmd2` sets `prog` when the instance-specific parser is created, which is later than it did previously.
7069
## Help Messages
7170

7271
By default, `cmd2` uses the docstring of the command method when a user asks for help on the

0 commit comments

Comments
 (0)