summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorcatherine <catherine@dellzilla>2010-02-10 14:07:01 -0500
committercatherine <catherine@dellzilla>2010-02-10 14:07:01 -0500
commit5d61e8e684b95aec18cb914dc0d60229a41dcea3 (patch)
tree8670562d40f0f7e998238b3dbf6e718750508745 /cmd2.py
parent9446e6e9c8fede0c52d09a0d371b01917a25c078 (diff)
downloadcmd2-hg-5d61e8e684b95aec18cb914dc0d60229a41dcea3.tar.gz
begin new docs
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd2.py b/cmd2.py
index 6127366..b2445a5 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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)