From 920a9faa050441fbe064eed200f74dbdc0ba9663 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Fri, 19 Jul 2019 10:06:19 -0400 Subject: Changed all uses of sub-command to subcommand --- cmd2/argparse_custom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd2/argparse_custom.py') diff --git a/cmd2/argparse_custom.py b/cmd2/argparse_custom.py index 8da47461..090abde1 100644 --- a/cmd2/argparse_custom.py +++ b/cmd2/argparse_custom.py @@ -26,7 +26,7 @@ value with no upper bound, use a 1-item tuple (min,) Tab Completion: cmd2 uses its AutoCompleter class to enable argparse-based tab completion on all commands that use the - @with_argparse wrappers. Out of the box you get tab completion of commands, sub-commands, and flag names, + @with_argparse wrappers. Out of the box you get tab completion of commands, subcommands, and flag names, as well as instructive hints about the current argument that print when tab is pressed. In addition, you can add tab completion for each argument's values using parameters passed to add_argument(). @@ -646,7 +646,7 @@ class Cmd2ArgumentParser(argparse.ArgumentParser): def add_subparsers(self, **kwargs): """Custom override. Sets a default title if one was not given.""" if 'title' not in kwargs: - kwargs['title'] = 'sub-commands' + kwargs['title'] = 'subcommands' return super().add_subparsers(**kwargs) -- cgit v1.2.1