summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorCatherine Devlin <catherine.devlin@gmail.com>2011-08-25 15:24:56 -0400
committerCatherine Devlin <catherine.devlin@gmail.com>2011-08-25 15:24:56 -0400
commit4074386806bcdc17980abe5526c841b5302ffb31 (patch)
tree07c26f5f35acb0a19d0354402cd729f0619730e9 /example
parentb9d2610cad9a018870663628514e743d901fe753 (diff)
downloadcmd2-git-4074386806bcdc17980abe5526c841b5302ffb31.tar.gz
custom double-redirector fixed
Diffstat (limited to 'example')
-rwxr-xr-xexample/example.py1
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"),