Skip to content

Commit cb55f0b

Browse files
committed
Added documentation
1 parent 99f4640 commit cb55f0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd2/argparse_custom.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
class called Cmd2ArgumentParser which improves error and help output over normal argparse. All cmd2 code uses
55
this parser and it is recommended that developers of cmd2-based apps either use it or write their own parser
66
that inherits from it. This will give a consistent look-and-feel between the help/error output of built-in
7-
cmd2 commands and the app-specific commands.
7+
cmd2 commands and the app-specific commands. If you wish to override the parser used by cmd2's built-in
8+
commands, see override_parser.py example.
89
910
Since the new capabilities are added by patching at the argparse API level, they are available whether or not
1011
Cmd2ArgumentParser is used. However, the help and error output of Cmd2ArgumentParser is customized to notate

0 commit comments

Comments
 (0)