annotate cmd2/exampleSession.txt @ 106:2d3232693807

prompt-setting quirks
author catherine@dellzilla
date Fri, 24 Oct 2008 16:03:58 -0400
parents
children 3e2651cbe376
rev   line source
106
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
1 (Cmd) say goodnight, Gracie
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
2 goodnight, Gracie
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
3 (Cmd) say -p goodnight, Gracie
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
4 oodnight, Graciegay
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
5 (Cmd) say -h
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
6 Usage: speak [options] arg
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
7
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
8 Options:
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
9 -h, --help show this help message and exit
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
10 -p, --piglatin atinLay
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
11 -s, --shout N00B EMULATION MODE
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
12 -r REPEAT, --repeat=REPEAT
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
13 output [n] times
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
14 (Cmd) say --shout goodnight, Gracie
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
15 GOODNIGHT, GRACIE
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
16 (Cmd) set prompt 'example >>> '
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
17 prompt - was: (Cmd)
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
18 now: example >>>
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
19 example >>> say --repeat 5 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
20 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
21 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
22 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
23 example >>> set
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
24 prompt: example >>>
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
25 editor: gedit
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
26 echo: False
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
27 maxrepeats: 3
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
28 example >>> set maxrepeats 10
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
29 maxrepeats - was: 3
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
30 now: 10
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
31 example >>> say --repeat 5 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
32 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
33 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
34 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
35 spam
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
36 spam