diff options
author | catherine <catherine@dellzilla> | 2010-02-10 14:07:01 -0500 |
---|---|---|
committer | catherine <catherine@dellzilla> | 2010-02-10 14:07:01 -0500 |
commit | 5d61e8e684b95aec18cb914dc0d60229a41dcea3 (patch) | |
tree | 8670562d40f0f7e998238b3dbf6e718750508745 /cmd2.py | |
parent | 9446e6e9c8fede0c52d09a0d371b01917a25c078 (diff) | |
download | cmd2-hg-5d61e8e684b95aec18cb914dc0d60229a41dcea3.tar.gz |
begin new docs
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -984,10 +984,10 @@ class Cmd(cmd.Cmd): 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) |