Mercurial > python-cmd2
changeset 289:327ace491fa9
oops, had to fix a reference to newFunc
author | catherine@bothari |
---|---|
date | Thu, 29 Oct 2009 16:17:58 -0400 |
parents | e743cf74c518 |
children | cd12e4e0fa17 |
files | cmd2.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2.py Thu Oct 29 13:31:41 2009 -0400 +++ b/cmd2.py Thu Oct 29 16:17:58 2009 -0400 @@ -141,7 +141,7 @@ arg = newArgs result = func(instance, arg, opts) return result - newFunc.__doc__ = '%s\n%s' % (func.__doc__, optionParser.format_help()) + new_func.__doc__ = '%s\n%s' % (func.__doc__, optionParser.format_help()) return new_func return option_setup