autotest: add @User autodocs to the apm.pdef.xml as user=foo

This commit is contained in:
Kevin Hester 2013-04-15 17:51:01 -07:00 committed by Andrew Tridgell
parent a7b32caf72
commit d3dad7afee

View File

@ -41,7 +41,9 @@ class XmlEmit(Emit):
t += '<param name=%s' % quoteattr(param.name) t += '<param name=%s' % quoteattr(param.name)
if hasattr(param, 'Description'): if hasattr(param, 'Description'):
t += 'documentation=%s' % quoteattr(param.Description) # i.w. parameter docs t += ' documentation=%s' % quoteattr(param.Description) # i.e. parameter docs
if hasattr(param, 'User'):
t += ' user=%s' % quoteattr(param.User) # i.e. Standard or Advanced
t += ">\n" t += ">\n"