summaryrefslogtreecommitdiff
path: root/docs/features/modular_commands.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/features/modular_commands.rst')
-rw-r--r--docs/features/modular_commands.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/features/modular_commands.rst b/docs/features/modular_commands.rst
index dddd996e..4abeda2d 100644
--- a/docs/features/modular_commands.rst
+++ b/docs/features/modular_commands.rst
@@ -316,7 +316,7 @@ command and each CommandSet
@with_argparser(cut_parser)
def do_cut(self, ns: argparse.Namespace):
- handler = ns.get_handler()
+ handler = ns.cmd2_handler.get()
if handler is not None:
# Call whatever subcommand function was selected
handler(ns)