summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 3b740a52..af3ebd8d 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -2674,7 +2674,7 @@ class ParserManager:
s = self.input_source_parser.transformString(s.lstrip())
s = self.commentGrammars.transformString(s)
for (shortcut, expansion) in self.shortcuts:
- if s.lower().startswith(shortcut):
+ if s.startswith(shortcut):
s = s.replace(shortcut, expansion + ' ', 1)
break
try: