diff options
Diffstat (limited to 'cmd2/command_definition.py')
-rw-r--r-- | cmd2/command_definition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/command_definition.py b/cmd2/command_definition.py index 6996bd9d..1768d86e 100644 --- a/cmd2/command_definition.py +++ b/cmd2/command_definition.py @@ -61,7 +61,7 @@ def _partial_passthru(func: Callable, *args, **kwargs) -> functools.partial: def register_command(cmd_func: Callable[['Cmd', Union['Statement', 'argparse.Namespace']], None]): """ Decorator that allows an arbitrary function to be automatically registered as a command. - If there is a help_ or complete_ function that matches this command, that will also be registered. + If there is a ``help_`` or ``complete_`` function that matches this command, that will also be registered. :param cmd_func: Function to register as a cmd2 command :return: |