aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2011-01-20 18:24:59 +0100
committerSebastian Pipping <sebastian@pipping.org>2011-01-20 18:24:59 +0100
commitbcfc01eeb38f1bb72c160341a619fae67d225b7d (patch)
tree2c80a525012be97ccd030c850cca382fc7f14a29 /maintenance
parentdocs: Fix indentation in "genkernel --help" (diff)
downloadgenkernel-bcfc01eeb38f1bb72c160341a619fae67d225b7d.tar.gz
genkernel-bcfc01eeb38f1bb72c160341a619fae67d225b7d.tar.bz2
genkernel-bcfc01eeb38f1bb72c160341a619fae67d225b7d.zip
docmatcher: Handle deprecated genkernel parameters
Diffstat (limited to 'maintenance')
-rw-r--r--maintenance/docmatcher.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/maintenance/docmatcher.py b/maintenance/docmatcher.py
index c40a2424..6835100f 100644
--- a/maintenance/docmatcher.py
+++ b/maintenance/docmatcher.py
@@ -23,6 +23,7 @@ EXTRA_VARIABLES = tuple(EXTRA_VARIABLES)
IGNORE_OPTIONS = ('help', 'version')
_GPG_PARAMETERS = ('encrypt', 'symmetric')
IGNORE_PARAMETERS = _GPG_PARAMETERS
+DEPRECATED_PARAMETERS = ('lvm2', 'evms2', 'gensplash', 'gensplash-res')
def exract_gen_cmdline_sh():
@@ -57,6 +58,8 @@ def exract_gen_cmdline_sh():
para_name = match.group(1)
if para_name in IGNORE_OPTIONS:
continue
+ if para_name in DEPRECATED_PARAMETERS:
+ continue
gen_cmdline_sh_parsing_long_params.add(para_name)
gen_cmdline_sh_variables = set()