From 0cd33fcf1206c03f8937dff19eac1a344daf42a2 Mon Sep 17 00:00:00 2001 From: Gianluca Gippetto Date: Mon, 9 May 2022 00:27:30 +0200 Subject: [PATCH] Remove BaseCommand from docstrings / docs --- cloup/_commands.py | 4 ++-- docs/pages/aliases.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloup/_commands.py b/cloup/_commands.py index ad74e58..21dbfa5 100644 --- a/cloup/_commands.py +++ b/cloup/_commands.py @@ -48,7 +48,7 @@ class Command(ConstraintMixin, OptionGroupMixin, click.Command): - :class:`ConstraintMixin` - :class:`OptionGroupMixin` - - :class:`BaseCommand` -> :class:`click.Command` + - :class:`click.Command` Besides other things, this class also: @@ -127,7 +127,7 @@ class Group(SectionMixin, Command, click.Group): Refer to superclasses for the documentation of all accepted parameters: - :class:`SectionMixin` - - :class:`BaseCommand` -> :class:`click.Command` + - :class:`Command` - :class:`click.Group` Apart from superclasses arguments, the following is the only additional parameter: diff --git a/docs/pages/aliases.rst b/docs/pages/aliases.rst index a6fe1b8..964ee86 100644 --- a/docs/pages/aliases.rst +++ b/docs/pages/aliases.rst @@ -73,7 +73,7 @@ Help output of the subcommand .. attention:: Aliases are shown **only** in the ``--help`` output of subcommands that - extends ``cloup.BaseCommand``. So, normal ``click.Command`` won't do it. + extends ``cloup.Command``. So, normal ``click.Command`` won't do it. .. code-block:: text :emphasize-lines: 2