diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-01 19:23:39 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-01 19:23:39 -0400 |
commit | d6d96763e2959b8af75a5c8705cd26ccad9e428e (patch) | |
tree | d19c10128479f55101019b7cb100a92a92a84ea0 /cmd2/cmd2.py | |
parent | 4fc186359c0c99315918de5f8cb900b68025a105 (diff) | |
download | cmd2-git-d6d96763e2959b8af75a5c8705cd26ccad9e428e.tar.gz |
Fixed docs error
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 701684c2..ad5d09de 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2554,7 +2554,8 @@ class Cmd(cmd.Cmd): self.use_rawinput is True and sys.stdin is a terminal. Defaults to CompletionMode.NONE. - The following optional settings apply when completion_mode is CompletionMode.CUSTOM. + The following optional settings apply when completion_mode is CompletionMode.CUSTOM: + :param preserve_quotes: if True, then quoted tokens will keep their quotes when processed by ArgparseCompleter. This is helpful in cases when you're tab completing flag-like tokens (e.g. -o, --option) and you don't want them to be |