build: (fixes #1261) Restrict ns3 script --cxx-standard flag to 23 and 26
This commit is contained in:
6
ns3
6
ns3
@@ -184,7 +184,11 @@ def parse_args(argv):
|
||||
)
|
||||
|
||||
parser_configure.add_argument(
|
||||
"--cxx-standard", help="Compile NS-3 with the given C++ standard", type=str, default=None
|
||||
"--cxx-standard",
|
||||
help="Compile NS-3 with the given C++ standard",
|
||||
type=str,
|
||||
default=None,
|
||||
choices=["23", "26"],
|
||||
)
|
||||
|
||||
# On-Off options
|
||||
|
||||
Reference in New Issue
Block a user