Skip to content

Commit

Permalink
Merge branch '3.x-maintenance' into 4.x-maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Aug 16, 2015
2 parents 39c1273 + 2cb7606 commit 10cc425
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion click/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ def command(name=None, cls=None, **attrs):
if cls is None:
cls = Command
def decorator(f):
return _make_command(f, name, attrs, cls)
cmd = _make_command(f, name, attrs, cls)
cmd.__doc__ = f.__doc__
return cmd
return decorator


Expand Down

0 comments on commit 10cc425

Please sign in to comment.