Skip to content

Commit 20c893d

Browse files
authored
Fixed example code. (#1394)
1 parent 580a08f commit 20c893d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/override_parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# with the custom parser's type.
1212
import argparse
1313

14-
argparse.cmd2_parser_module = 'examples.custom_parser'
14+
argparse.cmd2_parser_module = 'custom_parser'
1515

1616
# Next import from cmd2. It will import your module just before the cmd2.Cmd class file is imported
1717
# and therefore override the parser class it uses on its commands.

0 commit comments

Comments
 (0)