# HG changeset patch # User catherine@dellzilla # Date 1228417276 18000 # Node ID 5209d230f96b8452903955f49308e473dbdc18ed # Parent 61a57c44cd93f0028cc9818186911ea475987688 about to get rid of useTerminatorFrom diff -r 61a57c44cd93 -r 5209d230f96b cmd2.py --- a/cmd2.py Wed Dec 03 17:21:08 2008 -0500 +++ b/cmd2.py Thu Dec 04 14:01:16 2008 -0500 @@ -417,9 +417,9 @@ s = s.replace(shortcut, expansion + ' ', 1) break result = self.parser.parseString(s) + result['command'] = result.multilineCommand or result.command if useTerminatorFrom: return self.parsed('%s %s%s%s' % (result.command, result.args, useTerminatorFrom.parsed.terminator, useTerminatorFrom.parsed.suffix)) - result['command'] = result.multilineCommand or result.command result['raw'] = raw result['clean'] = self.commentGrammars.transformString(result.args) result['expanded'] = s