view cmd2/exampleSession.txt @ 107:3e2651cbe376

vigorous whitespace stripping from test results
author catherine@dellzilla
date Fri, 24 Oct 2008 16:13:47 -0400
parents 2d3232693807
children f7b0152c57f9
line wrap: on
line source

(Cmd) say goodnight, Gracie
goodnight, Gracie
(Cmd) say -p goodnight, Gracie
oodnight, Graciegay
(Cmd) say -h
Usage: speak [options] arg

Options:
  -h, --help            show this help message and exit
  -p, --piglatin        atinLay
  -s, --shout           N00B EMULATION MODE
  -r REPEAT, --repeat=REPEAT
                        output [n] times
(Cmd) say --shout goodnight, Gracie
GOODNIGHT, GRACIE
(Cmd) set prompt 'example >>> '
prompt - was: (Cmd) 
now: example >>>
example >>> say --repeat 5 spam
spam
spam
spam
example >>> set
prompt: example >>>
editor: gedit
echo: False
maxrepeats: 3
example >>> set maxrepeats 10
maxrepeats - was: 3
now: 10
example >>> say --repeat 5 spam
spam
spam
spam
spam
spam
example >>>