diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2011-01-20 18:24:59 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2011-01-20 18:24:59 +0100 |
commit | bcfc01eeb38f1bb72c160341a619fae67d225b7d (patch) | |
tree | 2c80a525012be97ccd030c850cca382fc7f14a29 /maintenance | |
parent | docs: Fix indentation in "genkernel --help" (diff) | |
download | genkernel-bcfc01eeb38f1bb72c160341a619fae67d225b7d.tar.gz genkernel-bcfc01eeb38f1bb72c160341a619fae67d225b7d.tar.bz2 genkernel-bcfc01eeb38f1bb72c160341a619fae67d225b7d.zip |
docmatcher: Handle deprecated genkernel parameters
Diffstat (limited to 'maintenance')
-rw-r--r-- | maintenance/docmatcher.py | 3 |
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() |