summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorcat <cat@eee>2010-02-12 22:15:04 -0500
committercat <cat@eee>2010-02-12 22:15:04 -0500
commit0d43627fd68908aa83bda63506b755f308dd38a5 (patch)
treeb14e6ceb9e5a73518990e4018391b7a383ebf52b /cmd2.py
parent00e5dc290b3e9605ef96e7973fe7881daf56dc7c (diff)
downloadcmd2-hg-0d43627fd68908aa83bda63506b755f308dd38a5.tar.gz
doc refreshing refresh.bash
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/cmd2.py b/cmd2.py
index a2fa214..9311689 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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 = []