Mercurial > python-cmd2
diff cmd2.py @ 314:0687bb650118
begin new docs
author | catherine@dellzilla |
---|---|
date | Wed, 10 Feb 2010 14:07:01 -0500 |
parents | e9f9dc712651 |
children | de23e595bb5c |
line wrap: on
line diff
--- a/cmd2.py Tue Feb 09 21:15:56 2010 -0500 +++ b/cmd2.py Wed Feb 10 14:07:01 2010 -0500 @@ -984,10 +984,10 @@ def do_history(self, arg): """history [arg]: lists past commands issued - no arg -> list all - arg is integer -> list one history item, by index - arg is string -> string search - arg is /enclosed in forward-slashes/ -> regular expression search + | no arg: list all + | arg is integer: list one history item, by index + | arg is string: string search + | arg is /enclosed in forward-slashes/: regular expression search """ if arg: history = self.history.get(arg)