From: Daan De Meyer Date: Sun, 2 Apr 2023 14:37:01 +0000 (+0200) Subject: Remove compatibility option names X-Git-Tag: v15~268^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f6d6414cda1e7de48c8172ce4f9271ed8267290;p=thirdparty%2Fmkosi.git Remove compatibility option names --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index dbec4c995..ca8507f74 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -1662,12 +1662,6 @@ def create_parser() -> ArgumentParserMkosi: default=True, help="Do not run tests as part of build script, if supported", ) - group.add_argument( - "--with-tests", # Compatibility option - action=BooleanAction, - default=True, - help=argparse.SUPPRESS, - ) group.add_argument("--password", help="Set the root password") group.add_argument( @@ -1727,13 +1721,6 @@ def create_parser() -> ArgumentParserMkosi: help="Set an environment variable when running scripts", metavar="NAME[=VALUE]", ) - group.add_argument( - "--build-environment", # Compatibility option - action=SpaceDelimitedListAction, - default=[], - dest="environment", - help=argparse.SUPPRESS, - ) group.add_argument( "--build-sources", help="Path for sources to build", @@ -1833,12 +1820,6 @@ def create_parser() -> ArgumentParserMkosi: type=Path, help="List of colon-separated paths to look for programs before looking in PATH", ) - group.add_argument( - "--extra-search-paths", # Compatibility option - dest="extra_search_paths", - action=ColonDelimitedListAction, - help=argparse.SUPPRESS, - ) group.add_argument( "--qemu-gui", metavar="BOOL", @@ -1921,13 +1902,6 @@ def create_parser() -> ArgumentParserMkosi: type=Path, metavar="PATH", ) - group.add_argument( - "--default", - dest="config_path", - help=argparse.SUPPRESS, - type=Path, - metavar="PATH", - ) group.add_argument( "-B", "--auto-bump",