(WIP) Remove deprecated argument for Spec.format

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Massimiliano Culpo 2024-10-10 20:25:21 +02:00
parent c86b3da9a9
commit cd08cb04c0
No known key found for this signature in database
GPG Key ID: 3E52BB992233066C
2 changed files with 2 additions and 1 deletions

View File

@ -428,6 +428,7 @@ def display_specs(specs, args=None, **kwargs):
"""
# FIXME (compiler as nodes): remove the "show full compiler" arguments, and its use
def get_arg(name, default=None):
"""Prefer kwargs, then args, then default."""
if name in kwargs:

View File

@ -99,7 +99,7 @@ def setup_parser(subparser):
"--show-full-compiler",
action="store_true",
dest="show_full_compiler",
help="show full compiler specs",
help="(DEPRECATED) show full compiler specs",
)
implicit_explicit = subparser.add_mutually_exclusive_group()
implicit_explicit.add_argument(