diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-12-05 14:50:18 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-12-05 14:50:18 +0300 |
commit | 516c78090f3668c4c4ed131c51f9354e8b9400d0 (patch) | |
tree | 3812995e1dff1835932bcce08e85f964df2c8f10 | |
parent | 3e0eb64ae31b39a67111c0401e8cda7d0c43a482 (diff) |
Make mksetupini continue to work for legacy x86 architecture
-rwxr-xr-x | calm/mksetupini.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/mksetupini.py b/calm/mksetupini.py index d788559..170311b 100755 --- a/calm/mksetupini.py +++ b/calm/mksetupini.py @@ -131,7 +131,7 @@ def main(): disable_check_choices = choiceList(['missing-curr', 'missing-depended-package', 'missing-obsoleted-package', 'missing-required-package', 'curr-most-recent']) parser = argparse.ArgumentParser(description='Make setup.ini') - parser.add_argument('--arch', action='store', required=True, choices=common_constants.ARCHES) + parser.add_argument('--arch', action='store', required=True, choices=common_constants.ARCHES + common_constants.ARCHIVED_ARCHES) parser.add_argument('--disable-check', action=flatten_append, help='checks to disable', type=disable_check_choices, default=[], metavar=disable_check_choices.help()) parser.add_argument('--inifile', '-u', action='store', help='output filename', required=True) parser.add_argument('--okmissing', action='append', help='superseded by --disable-check', choices=['curr', 'depended-package', 'obsoleted-package', 'required-package']) |