summaryrefslogtreecommitdiff
path: root/examples/custom_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/custom_parser.py')
-rw-r--r--examples/custom_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/custom_parser.py b/examples/custom_parser.py
index ea66e7e1..6e5a33b4 100644
--- a/examples/custom_parser.py
+++ b/examples/custom_parser.py
@@ -7,7 +7,7 @@ import sys
from cmd2 import (
Cmd2ArgumentParser,
ansi,
- set_default_argument_parser,
+ set_default_argument_parser_type,
)
@@ -38,4 +38,4 @@ class CustomParser(Cmd2ArgumentParser):
# Now set the default parser for a cmd2 app
-set_default_argument_parser(CustomParser)
+set_default_argument_parser_type(CustomParser)