(small cleanup)

This commit is contained in:
Lephenixnoir 2021-01-12 18:53:21 +01:00
parent 431633612f
commit ee7c5d63ca
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 6 deletions

View File

@ -107,8 +107,7 @@ def main():
sys.exit(1)
try:
models = "fx cg fx9860G fxCG50"
longs = f"help output= toolchain= arch= section= {models} {types}"
longs = f"help output= toolchain= arch= section= fx cg {types}"
opts, args = getopt.gnu_getopt(sys.argv[1:], "hsbifo:", longs.split())
except getopt.GetoptError as error:
return err(error)
@ -122,10 +121,6 @@ def main():
output = value
elif name in [ "--fx", "--cg" ]:
model = name[2:]
elif name == "--fx9860G":
model = "fx"
elif name == "--fxCG50":
model = "cg"
elif name == "--toolchain":
target['toolchain'] = value
elif name == "--arch":