diff options
author | cat <cat@eee> | 2010-02-12 22:15:04 -0500 |
---|---|---|
committer | cat <cat@eee> | 2010-02-12 22:15:04 -0500 |
commit | 0d43627fd68908aa83bda63506b755f308dd38a5 (patch) | |
tree | b14e6ceb9e5a73518990e4018391b7a383ebf52b /cmd2.py | |
parent | 00e5dc290b3e9605ef96e7973fe7881daf56dc7c (diff) | |
download | cmd2-hg-0d43627fd68908aa83bda63506b755f308dd38a5.tar.gz |
doc refreshing refresh.bash
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -941,11 +941,12 @@ class Cmd(cmd.Cmd): 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 = [] |