diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-14 23:45:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-14 23:45:46 -0500 |
| commit | 30680704c4a42d9fc83062d8801666f0bd862412 (patch) | |
| tree | b377a0b3e1132b9ac47e7b5d666bc74a7881fca0 | |
| parent | 81cbc40b5dfa6f615a621ed42c6ed437faabb4da (diff) | |
| parent | c99a2be9a69f2de3f313ce9579de53220357f017 (diff) | |
| download | cmd2-git-30680704c4a42d9fc83062d8801666f0bd862412.tar.gz | |
Merge pull request #1057 from korygill/patch-1
Update modular_commands.rst
| -rw-r--r-- | docs/features/modular_commands.rst | 2 |
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 |
