From 07321efc8ac8dc5d8276a1c33ed4fa506e24ae6a Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Tue, 16 Jun 2020 09:40:40 -0400 Subject: Fixes to sphinx generation --- cmd2/cmd2.py | 2 +- cmd2/command_definition.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd2') diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 310ad32f..40748d51 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -471,7 +471,7 @@ class Cmd(cmd.Cmd): def uninstall_command_set(self, cmdset: CommandSet): """ - Uninstalls an CommandSet and unloads all associated commands + Uninstalls a CommandSet and unloads all associated commands :param cmdset: CommandSet to uninstall """ if cmdset in self._installed_command_sets: 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: -- cgit v1.2.1