diff options
| author | Catherine Devlin <catherine.devlin@gmail.com> | 2009-03-02 06:38:51 -0500 |
|---|---|---|
| committer | Catherine Devlin <catherine.devlin@gmail.com> | 2009-03-02 06:38:51 -0500 |
| commit | 525d8f0b2da3603b30d9e17364804a15f8b57324 (patch) | |
| tree | 75ce4cdb94d4361107a1825e40d809c4bcc55dc9 | |
| parent | 42e1fe0554bcf79483b73fd9f12c396cce8fa70f (diff) | |
| download | cmd2-git-525d8f0b2da3603b30d9e17364804a15f8b57324.tar.gz | |
unknown
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -428,7 +428,7 @@ class Cmd(cmd.Cmd): 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)
|
