From b73b5744716c1026e55b5eef75b864a660266850 Mon Sep 17 00:00:00 2001 From: Lukas Rothenberger Date: Mon, 4 Dec 2023 12:35:37 +0100 Subject: [PATCH] fix(patch_generator): added deprecated flag for VSCX compatibility --- discopop_library/PatchGenerator/__main__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/discopop_library/PatchGenerator/__main__.py b/discopop_library/PatchGenerator/__main__.py index d8c9a6345..5e8156000 100644 --- a/discopop_library/PatchGenerator/__main__.py +++ b/discopop_library/PatchGenerator/__main__.py @@ -23,11 +23,17 @@ def parse_args() -> PatchGeneratorArguments: "EXPERIMENTAL", "Arguments marked as experimental features. These flags may or may not be removed or changed in the future.", ) + deprecated_parser = parser.add_argument_group( + "DEPRECATED", + "Arguments marked as deprecated features. These flags may or may not be removed or changed in the future.", + ) # fmt: off parser.add_argument("--verbose", action="store_true", help="Enable verbose output.") # EXPERIMENTAL FLAGS: + # DEPRECATED FLAGS: + deprecated_parser.add_argument("--dp-build-path", help="IGNORED. DEPRECATED. Kept for compatibility reasons.") # fmt: on arguments = parser.parse_args()