Mercurial > python-cmd2
diff example/example.py @ 435:bfbe4241bd6b
custom double-redirector fixed
author | catherine.devlin@gmail.com |
---|---|
date | Thu, 25 Aug 2011 15:24:56 -0400 |
parents | f16f444a4d10 |
children |
line wrap: on
line diff
--- a/example/example.py Sun Aug 21 02:39:43 2011 -0400 +++ b/example/example.py Thu Aug 25 15:24:56 2011 -0400 @@ -7,6 +7,7 @@ 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"),