mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 20:43:37 +01:00
(small cleanup)
This commit is contained in:
parent
431633612f
commit
ee7c5d63ca
1 changed files with 1 additions and 6 deletions
|
@ -107,8 +107,7 @@ def main():
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
models = "fx cg fx9860G fxCG50"
|
longs = f"help output= toolchain= arch= section= fx cg {types}"
|
||||||
longs = f"help output= toolchain= arch= section= {models} {types}"
|
|
||||||
opts, args = getopt.gnu_getopt(sys.argv[1:], "hsbifo:", longs.split())
|
opts, args = getopt.gnu_getopt(sys.argv[1:], "hsbifo:", longs.split())
|
||||||
except getopt.GetoptError as error:
|
except getopt.GetoptError as error:
|
||||||
return err(error)
|
return err(error)
|
||||||
|
@ -122,10 +121,6 @@ def main():
|
||||||
output = value
|
output = value
|
||||||
elif name in [ "--fx", "--cg" ]:
|
elif name in [ "--fx", "--cg" ]:
|
||||||
model = name[2:]
|
model = name[2:]
|
||||||
elif name == "--fx9860G":
|
|
||||||
model = "fx"
|
|
||||||
elif name == "--fxCG50":
|
|
||||||
model = "cg"
|
|
||||||
elif name == "--toolchain":
|
elif name == "--toolchain":
|
||||||
target['toolchain'] = value
|
target['toolchain'] = value
|
||||||
elif name == "--arch":
|
elif name == "--arch":
|
||||||
|
|
Loading…
Reference in a new issue