# HG changeset patch # User catherine@bothari # Date 1256847478 14400 # Node ID 327ace491fa9ac834333c18ecddd96f9c2920347 # Parent e743cf74c518615b3742697e72ce60a963bc0b54 oops, had to fix a reference to newFunc diff -r e743cf74c518 -r 327ace491fa9 cmd2.py --- 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