# HG changeset patch # User catherine@dellzilla # Date 1226092433 18000 # Node ID d94b79807da00d6928d214109ba80885c27814fe # Parent 64ad2b28d69de23274e64bd6176cdf8cfaaa46fa noSpecialParse diff -r 64ad2b28d69d -r d94b79807da0 cmd2.py --- a/cmd2.py Fri Nov 07 14:49:32 2008 -0500 +++ b/cmd2.py Fri Nov 07 16:13:53 2008 -0500 @@ -242,11 +242,10 @@ command = s.split()[0] if self.caseInsensitive: command = command.lower() - '''if command in self.noSpecialParse: - result['statement'] = result['upToIncluding'] = result['unterminated'] = result.fullStatement + if command in self.noSpecialParse: result['command'] = command - result['args'] = ' '.join(result.fullStatement.split()[1:]) - return result''' + result['statement'] = result.fullStatement + return result if s[0] in self.shortcuts: s = self.shortcuts[s[0]] + ' ' + s[1:] result['statement'] = s