# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1235993931 18000 # Node ID 6cdf53ce84f5db2df4c84ec3db926dc57f33bd27 # Parent 05c0e28306d35461b8d98cb96feea9a4c9b41635 unknown diff -r 05c0e28306d3 -r 6cdf53ce84f5 cmd2.py --- 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)