FIX: 'script run legic_clone' - correct getoptions pattern
This commit is contained in:
@@ -453,7 +453,7 @@ function main(args)
|
|||||||
local segments = {}
|
local segments = {}
|
||||||
|
|
||||||
-- parse arguments for the script
|
-- parse arguments for the script
|
||||||
for o, a in getopt.getopt(args, 'hwsdc:i::o:') do
|
for o, a in getopt.getopt(args, 'hwsdc:i:o:') do
|
||||||
-- output file
|
-- output file
|
||||||
if o == "o" then
|
if o == "o" then
|
||||||
outfile = a
|
outfile = a
|
||||||
|
|||||||
Reference in New Issue
Block a user