Mercurial > python-cmd2
changeset 201:6cdf53ce84f5
unknown
author | catherine@Elli.myhome.westell.com |
---|---|
date | Mon, 02 Mar 2009 06:38:51 -0500 |
parents | 05c0e28306d3 |
children | da8c265934ee |
files | cmd2.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2.py Fri Feb 27 21:08:10 2009 -0500 +++ b/cmd2.py Mon Mar 02 06:38:51 2009 -0500 @@ -428,7 +428,7 @@ else: s = self.inputParser.transformString(raw.lstrip()) for (shortcut, expansion) in self.shortcuts.items(): - if s.startswith(shortcut): + if s.lower().startswith(shortcut): s = s.replace(shortcut, expansion + ' ', 1) break result = self.parser.parseString(s)