1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-23 04:23:55 +02:00

sfc/slicer.py: also let getopt know that we support -o

This commit is contained in:
Werner Almesberger 2015-01-22 20:27:46 -03:00
parent 4d084a6191
commit a20499bb9f

View File

@ -106,7 +106,7 @@ stdout = os.dup(1)
os.dup2(2, 1) os.dup2(2, 1)
sys.stdout = os.fdopen(stdout, "w") sys.stdout = os.fdopen(stdout, "w")
opts, args = getopt.getopt(sys.argv[1:], "a:e:fh:p:s:") opts, args = getopt.getopt(sys.argv[1:], "a:e:fh:o:p:s:")
for opt, arg in opts: for opt, arg in opts:
if opt == "-a": if opt == "-a":
if arg[0:3] == "top": if arg[0:3] == "top":