Mercurial > python-cmd2
comparison cmd2/exampleSession.txt @ 106:2d3232693807
prompt-setting quirks
author | catherine@dellzilla |
---|---|
date | Fri, 24 Oct 2008 16:03:58 -0400 |
parents | |
children | 3e2651cbe376 |
comparison
equal
deleted
inserted
replaced
105:130340609e19 | 106:2d3232693807 |
---|---|
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 >>> ' | |
17 prompt - was: (Cmd) | |
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 | |
36 spam |