Mercurial > python-cmd2
changeset 139:e2d06e53d09c
adding test for comments
author | catherine@Elli.myhome.westell.com |
---|---|
date | Thu, 13 Nov 2008 12:41:48 -0500 |
parents | 4b428849783d |
children | e49ded85ba4c |
files | example/exampleSession.txt |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/example/exampleSession.txt Mon Nov 10 16:46:41 2008 -0500 +++ b/example/exampleSession.txt Thu Nov 13 12:41:48 2008 -0500 @@ -89,6 +89,12 @@ (Cmd) say put this in a file > myfile.txt (Cmd) say < myfile.txt put this in a file +(Cmd) # comments do nothing +(Cmd) /* C-style comments */ say are invisible +are invisible +(Cmd) orate and they don't /* interfere; +> with multiline */ commands; +and they don't commands; (Cmd) set prompt "---> " prompt - was: (Cmd) now: --->