diff cmd2.py @ 119:fe47c5b269cc release 0.4, uploaded to PyPI

altering README to match exampleSession.txt
author catherine@dellzilla
date Tue, 28 Oct 2008 14:09:44 -0400
parents 33cd0e1bebb8
children fe432d010ecc
line wrap: on
line diff
--- a/cmd2.py	Tue Oct 28 14:06:52 2008 -0400
+++ b/cmd2.py	Tue Oct 28 14:09:44 2008 -0400
@@ -728,7 +728,7 @@
         prompt = pyparsing.Suppress(pyparsing.lineStart + self.cmdapp.prompt)
         continuationPrompt = pyparsing.Suppress(pyparsing.lineStart + self.cmdapp.continuationPrompt)
         self.cmdtxtPattern = (prompt + pyparsing.restOfLine + pyparsing.ZeroOrMore(
-            pyparsing.lineEnd + continuationPrompt + pyparsing.restOfLine))("command")   
+             pyparsing.lineEnd + continuationPrompt + pyparsing.restOfLine))("command")   
     def inputGenerator(self):
         while True:
             self.refreshCommandFinder()