Mercurial > python-cmd2
diff cmd2.py @ 332:49bea7cab179
doc refreshing refresh.bash
author | cat@eee |
---|---|
date | Fri, 12 Feb 2010 22:15:04 -0500 |
parents | 6306edc46a6e |
children | 45e70737791f |
line wrap: on
line diff
--- a/cmd2.py Fri Feb 12 21:41:17 2010 -0500 +++ b/cmd2.py Fri Feb 12 22:15:04 2010 -0500 @@ -941,11 +941,12 @@ the bash shell's SELECT. Returns the item chosen. Argument ``options`` can be: - a single string -> will be split into one-word options - a list of strings -> will be offered as options - a list of tuples -> interpreted as (value, text), so - that the return value can differ from - the text advertised to the user ''' + + | a single string -> will be split into one-word options + | a list of strings -> will be offered as options + | a list of tuples -> interpreted as (value, text), so + that the return value can differ from + the text advertised to the user ''' if isinstance(options, basestring): options = zip(options.split(), options.split()) fulloptions = []