]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Remove compatibility option names
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 2 Apr 2023 14:37:01 +0000 (16:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 6 Apr 2023 08:42:52 +0000 (10:42 +0200)
mkosi/__init__.py

index dbec4c995f079b08e1d98c3e10037a6df7e29840..ca8507f744427ff1868a60e791ae43837e3d56c7 100644 (file)
@@ -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",