mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +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
1 changed files with 1 additions and 0 deletions
|
|
@ -1263,6 +1263,7 @@ def hgcommand(f):
|
|||
if not err:
|
||||
return 0
|
||||
raise hg_util.Abort(err)
|
||||
wrapped.__doc__ = f.__doc__
|
||||
return wrapped
|
||||
|
||||
#######################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue