diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-11 22:27:18 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-11 22:27:18 -0400 |
commit | f517ff8e21b7ea861d8907e5302be49829de8b9c (patch) | |
tree | 5ce06602b852d8a414876384f4d04d4aa386adfa | |
parent | a46ad5fbac0f7b32ed3565b94398fd45aec9e235 (diff) | |
download | cmd2-git-f517ff8e21b7ea861d8907e5302be49829de8b9c.tar.gz |
Fixed a few typos
-rwxr-xr-x | cmd2.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -855,7 +855,7 @@ class Cmd(cmd.Cmd): @staticmethod def _surround_ansi_escapes(prompt, start="\x01", end="\x02"): - """Overcome bug in GNU Readline in relation to calculation of prompt length in presence of ASNI escape codes. + """Overcome bug in GNU Readline in relation to calculation of prompt length in presence of ANSI escape codes. :param prompt: str - original prompt :param start: str - start code to tell GNU Readline about beginning of invisible characters @@ -1488,7 +1488,7 @@ Paths or arguments that contain spaces must be enclosed in quotes self.stdout.write(hi.pr()) def _last_matching(self, arg): - """Return the last item from the history list that matches arg. Or if arg not provided, retern last item. + """Return the last item from the history list that matches arg. Or if arg not provided, return last item. If not match is found, return None. @@ -1754,7 +1754,7 @@ Script should contain one command per line, just like command would be typed in """This is an outer wrapper around _cmdloop() which deals with extra features provided by cmd2. _cmdloop() provides the main loop equivalent to cmd.cmdloop(). This is a wrapper around that which deals with - the following extra feactures provided by cmd2: + the following extra features provided by cmd2: - commands at invocation - transcript testing - intro banner |