# HG changeset patch # User catherine.devlin@gmail.com # Date 1211218987 14400 # Node ID 11d44bf343c704eec3e7a462357305e14af65ea7 # Parent dd64c0e3dbe0b923081543946f0e1a64b57e5f61 rejoin arg after split diff -r dd64c0e3dbe0 -r 11d44bf343c7 cmd2.py --- a/cmd2.py Mon May 19 10:08:23 2008 -0400 +++ b/cmd2.py Mon May 19 13:43:07 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