From 0d43627fd68908aa83bda63506b755f308dd38a5 Mon Sep 17 00:00:00 2001 From: cat Date: Fri, 12 Feb 2010 22:15:04 -0500 Subject: doc refreshing refresh.bash --- cmd2.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cmd2.py') 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 = [] -- cgit v1.2.1