From bf3dc169c047acda1c1cf505e8cd0e9e46d4b4cf Mon Sep 17 00:00:00 2001 From: kotfu Date: Wed, 5 Feb 2020 22:31:18 -0700 Subject: Clean up class and method references - In docs/api/cmd.rst, the `cmd2.Cmd` class was defined as `cmd2.cmd2.Cmd`, which required the extraneous `cmd2` every time we referenced it. This extra `cmd2` is no longer required. - always refer to a bare cmd2 using ``cmd2`` per our documentation conventions --- docs/migrating/next_steps.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/migrating') diff --git a/docs/migrating/next_steps.rst b/docs/migrating/next_steps.rst index d95473ee..545e1c0a 100644 --- a/docs/migrating/next_steps.rst +++ b/docs/migrating/next_steps.rst @@ -51,8 +51,8 @@ Generating Output ----------------- If your program generates output by printing directly to ``sys.stdout``, you -should consider switching to :meth:`~cmd2.cmd2.Cmd.poutput`, -:meth:`~cmd2.cmd2.Cmd.perror`, and :meth:`~cmd2.cmd2.Cmd.pfeedback`. These +should consider switching to :meth:`~cmd2.Cmd.poutput`, +:meth:`~cmd2.Cmd.perror`, and :meth:`~cmd2.Cmd.pfeedback`. These methods work with several of the built in :ref:`features/settings:Settings` to allow the user to view or suppress feedback (i.e. progress or status output). They also properly handle ansi colored output according to user preference. -- cgit v1.2.1