Mercurial > python-cmd2
diff cmd2.py @ 36:f472921d6189
fixing split arg, AND cleaning up accidental merge mess
author | catherine@localhost |
---|---|
date | Mon, 19 May 2008 13:56:00 -0400 |
parents | dd64c0e3dbe0 e72eb9137a87 |
children | a974e2f44cbe |
line wrap: on
line diff
--- a/cmd2.py Mon May 19 10:19:29 2008 -0400 +++ b/cmd2.py Mon May 19 13:56:00 2008 -0400 @@ -52,7 +52,7 @@ print e optionParser.print_help() return - result = func(instance, arg, opts) + result = func(instance, ' '.join(arg), opts) return result newFunc.__doc__ = '%s\n%s' % (func.__doc__, optionParser.format_help()) return newFunc