summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-02-14 23:46:15 -0500
committerGitHub <noreply@github.com>2021-02-14 23:46:15 -0500
commit0c296ae041761f03b6182a8dc8c3d165898fe49c (patch)
treeb4c509a8c51503a62b0d0f347063a0e54a6c5f92
parent49888db331fe449dbc1853265376a46472995750 (diff)
parent30680704c4a42d9fc83062d8801666f0bd862412 (diff)
downloadcmd2-git-2.0.tar.gz
Merge branch 'master' into 2.02.0
-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 8bd9ba2f..fa643080 100644
--- a/docs/features/modular_commands.rst
+++ b/docs/features/modular_commands.rst
@@ -44,7 +44,7 @@ functions with ``help_``, and completer functions with ``complete_``.
A new decorator ``with_default_category`` is provided to categorize all commands within a CommandSet in the
same command category. Individual commands in a CommandSet may be override the default category by specifying a
-specific category with ``cmd.with_category``.
+specific category with ``cmd2.with_category``.
CommandSet command methods will always expect the same parameters as when defined in a ``cmd2.Cmd`` sub-class,
except that ``self`` will now refer to the ``CommandSet`` instead of the cmd2 instance. The cmd2 instance can