human
I wrote the below code

    def fn(self, arg):
        try:
            opt = docopt(fn.__doc__, arg)
        except DocoptExit as e:
            print 'Invalid    Command!'
            print e
            return
        except SystemExit:
            return
        return func(self, opt)
    fn.__name__ = func.__name__
    fn.__doc__ = func.__doc__
    fn.__dict__.update(func.__dict__)
    return fn

What's a good function header?
 Give me a Python program to print 'Invalid    Command!'?
assistant
#Here is Python program to print 'Invalid    Command!'
.

def docopt_cmd(func):