summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Devlin <catherine.devlin@gmail.com>2009-03-02 06:38:51 -0500
committerCatherine Devlin <catherine.devlin@gmail.com>2009-03-02 06:38:51 -0500
commit525d8f0b2da3603b30d9e17364804a15f8b57324 (patch)
tree75ce4cdb94d4361107a1825e40d809c4bcc55dc9
parent42e1fe0554bcf79483b73fd9f12c396cce8fa70f (diff)
downloadcmd2-git-525d8f0b2da3603b30d9e17364804a15f8b57324.tar.gz
unknown
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index ee8fc5cb..10a0f868 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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)