From 191f94abda1c4d565ea5b2dd1bd66e346db3b51b Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Wed, 12 Feb 2020 15:47:29 -0500 Subject: Overhauling tab completion examples --- docs/features/argument_processing.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/features/argument_processing.rst') diff --git a/docs/features/argument_processing.rst b/docs/features/argument_processing.rst index 9d98ea93..39a39804 100644 --- a/docs/features/argument_processing.rst +++ b/docs/features/argument_processing.rst @@ -328,11 +328,10 @@ You may add multiple layers of subcommands for your command. ``cmd2`` will automatically traverse and tab-complete subcommands for all commands using argparse. -See the subcommands_ and tab_autocompletion_ example to learn more about how to +See the subcommands_ example to learn more about how to use subcommands in your ``cmd2`` application. .. _subcommands: https://github.com/python-cmd2/cmd2/blob/master/examples/subcommands.py -.. _tab_autocompletion: https://github.com/python-cmd2/cmd2/blob/master/examples/tab_autocompletion.py Argparse Extensions -- cgit v1.2.1 From 41019de4b55f42d17149c29d380358dc38347948 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Thu, 13 Feb 2020 13:39:53 -0500 Subject: Removed dash from 'tab complete' string --- docs/features/argument_processing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/features/argument_processing.rst') diff --git a/docs/features/argument_processing.rst b/docs/features/argument_processing.rst index 39a39804..82244d7e 100644 --- a/docs/features/argument_processing.rst +++ b/docs/features/argument_processing.rst @@ -325,7 +325,7 @@ Subcommands are supported for commands using either the ``@with_argparser`` or is based on argparse sub-parsers. You may add multiple layers of subcommands for your command. ``cmd2`` will -automatically traverse and tab-complete subcommands for all commands using +automatically traverse and tab complete subcommands for all commands using argparse. See the subcommands_ example to learn more about how to -- cgit v1.2.1