diff options
| author | Catherine Devlin <catherine.devlin@gmail.com> | 2011-08-25 15:24:56 -0400 |
|---|---|---|
| committer | Catherine Devlin <catherine.devlin@gmail.com> | 2011-08-25 15:24:56 -0400 |
| commit | 4074386806bcdc17980abe5526c841b5302ffb31 (patch) | |
| tree | 07c26f5f35acb0a19d0354402cd729f0619730e9 /example | |
| parent | b9d2610cad9a018870663628514e743d901fe753 (diff) | |
| download | cmd2-git-4074386806bcdc17980abe5526c841b5302ffb31.tar.gz | |
custom double-redirector fixed
Diffstat (limited to 'example')
| -rwxr-xr-x | example/example.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/example.py b/example/example.py index 32f20f97..88cefd48 100755 --- a/example/example.py +++ b/example/example.py @@ -7,6 +7,7 @@ class CmdLineApp(Cmd): multilineCommands = ['orate'] Cmd.shortcuts.update({'&': 'speak'}) maxrepeats = 3 + redirector = '->' Cmd.settable.append('maxrepeats Max number of `--repeat`s allowed') @options([make_option('-p', '--piglatin', action="store_true", help="atinLay"), |
