This doesn't serve much purpose, and makes it much harder than it
should be to merge multiple patches that change the sample config.
Change-Id: I44895bfbf4a7c9af30040f84b17a97f8e2f4e5b6
#volume_dd_blocksize=1M
-# Total option count: 382
LISTOPT = "ListOpt"
MULTISTROPT = "MultiStrOpt"
-OPTION_COUNT = 0
OPTION_REGEX = re.compile(r"(%s)" % "|".join([STROPT, BOOLOPT, INTOPT,
FLOATOPT, LISTOPT,
MULTISTROPT]))
mods.sort()
for mod_str in mods:
_print_module(mod_str)
- print("# Total option count: %d" % OPTION_COUNT)
def _print_module(mod_str):
opts.extend(attr_obj)
if not opts:
return
- global OPTION_COUNT
- OPTION_COUNT += len(opts)
print('#')
print('# Options defined in %s' % name)
print('#')