(WIP) Remove deprecated argument for Spec.format
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
c86b3da9a9
commit
cd08cb04c0
@ -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):
|
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