1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

smb.conf(5): Consistent spelling of parameter names.

This includes spacing and casing.
This commit is contained in:
Jelmer Vernooij
2012-09-26 13:20:42 -07:00
parent 32fad2b910
commit 2a31f0b509

View File

@ -44,11 +44,11 @@ def get_documented_parameters(sourcedir):
for l in out.splitlines():
m = re.match('<samba:parameter .*?name="([^"]*?)"', l)
if m:
name = m.group(1).replace(" ", "")
name = m.group(1)
yield name
m = re.match('.*<synonym>(.*)</synonym>.*', l)
if m:
name = m.group(1).replace(" ", "")
name = m.group(1)
yield name
@ -73,7 +73,7 @@ def get_implementation_parameters(sourcedir):
continue
name = m.group(1)
yield name.lower().replace(" ", "")
yield name
finally:
f.close()