mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
codereview: restore help messages
Docstrings were not being set for the wrapper functions returned by the hgcommand decorator. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6059043
This commit is contained in:
parent
9a6cef8bbf
commit
d3889ff322
|
@ -1263,6 +1263,7 @@ def hgcommand(f):
|
|||
if not err:
|
||||
return 0
|
||||
raise hg_util.Abort(err)
|
||||
wrapped.__doc__ = f.__doc__
|
||||
return wrapped
|
||||
|
||||
#######################################################################
|
||||
|
|
Loading…
Reference in a new issue