Mercurial > python-cmd2
annotate 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 |
rev | line source |
---|---|
106 | 1 (Cmd) say goodnight, Gracie |
2 goodnight, Gracie | |
3 (Cmd) say -p goodnight, Gracie | |
4 oodnight, Graciegay | |
5 (Cmd) say -h | |
6 Usage: speak [options] arg | |
7 | |
8 Options: | |
9 -h, --help show this help message and exit | |
10 -p, --piglatin atinLay | |
11 -s, --shout N00B EMULATION MODE | |
12 -r REPEAT, --repeat=REPEAT | |
13 output [n] times | |
14 (Cmd) say --shout goodnight, Gracie | |
15 GOODNIGHT, GRACIE | |
16 (Cmd) set prompt 'example >>> ' | |
107
3e2651cbe376
vigorous whitespace stripping from test results
catherine@dellzilla
parents:
106
diff
changeset
|
17 prompt - was: (Cmd) |
106 | 18 now: example >>> |
19 example >>> say --repeat 5 spam | |
20 spam | |
21 spam | |
22 spam | |
23 example >>> set | |
24 prompt: example >>> | |
25 editor: gedit | |
26 echo: False | |
27 maxrepeats: 3 | |
28 example >>> set maxrepeats 10 | |
29 maxrepeats - was: 3 | |
30 now: 10 | |
31 example >>> say --repeat 5 spam | |
32 spam | |
33 spam | |
34 spam | |
35 spam | |
107
3e2651cbe376
vigorous whitespace stripping from test results
catherine@dellzilla
parents:
106
diff
changeset
|
36 spam |
3e2651cbe376
vigorous whitespace stripping from test results
catherine@dellzilla
parents:
106
diff
changeset
|
37 example >>> |