mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-23 04:46:45 +02:00
sfc/slicer.py: also let getopt know that we support -o
This commit is contained in:
parent
4d084a6191
commit
a20499bb9f
@ -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":
|
||||||
|
Loading…
Reference in New Issue
Block a user