]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba.tests.docs: Support synonyms.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 26 Sep 2012 19:40:00 +0000 (12:40 -0700)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 19 Oct 2012 07:10:14 +0000 (09:10 +0200)
source4/scripting/python/samba/tests/docs.py

index 3e508ebf66295198ee2eb89d3f29fd82e818196d..9575555946a476d05c5d8c6cb6f6d41c3709754d 100644 (file)
@@ -46,6 +46,10 @@ def get_documented_parameters(sourcedir):
         if m:
             name = m.group(1).replace(" ", "")
             yield name
+        m = re.match('<synonym>(.*)</synonym>', l)
+        if m:
+            name = m.group(1).replace(" ", "")
+            yield name
 
 
 def get_implementation_parameters(sourcedir):