(WIP) Remove deprecated argument for Spec.format
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
9601f6a4c4
commit
15d75caafe
@ -431,6 +431,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):
|
def get_arg(name, default=None):
|
||||||
"""Prefer kwargs, then args, then default."""
|
"""Prefer kwargs, then args, then default."""
|
||||||
if name in kwargs:
|
if name in kwargs:
|
||||||
|
@ -99,7 +99,7 @@ def setup_parser(subparser):
|
|||||||
"--show-full-compiler",
|
"--show-full-compiler",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
dest="show_full_compiler",
|
dest="show_full_compiler",
|
||||||
help="show full compiler specs",
|
help="(DEPRECATED) show full compiler specs",
|
||||||
)
|
)
|
||||||
implicit_explicit = subparser.add_mutually_exclusive_group()
|
implicit_explicit = subparser.add_mutually_exclusive_group()
|
||||||
implicit_explicit.add_argument(
|
implicit_explicit.add_argument(
|
||||||
|
Loading…
Reference in New Issue
Block a user