FIX: arguments took too much.

FIX:  lf search didn't load from graphbuffer..
This commit is contained in:
iceman1001 2015-01-10 15:59:05 +01:00
commit 86dab5168e

View file

@ -74,7 +74,7 @@ local function main(args)
local outputTemplate = os.date("testtest_%Y-%m-%d_%H%M%S") local outputTemplate = os.date("testtest_%Y-%m-%d_%H%M%S")
-- Arguments for the script -- Arguments for the script
for o, arg in getopt.getopt(args, 'hk:no:') do for o, arg in getopt.getopt(args, 'ho:') do
if o == "h" then return help() end if o == "h" then return help() end
if o == "o" then outputTemplate = arg end if o == "o" then outputTemplate = arg end
end end
@ -95,7 +95,7 @@ local function main(args)
table.insert(files, file) table.insert(files, file)
end end
local cmdLFSEARCH = "lf search" local cmdLFSEARCH = "lf search 1"
-- main loop -- main loop
io.write('Starting to test traces > ') io.write('Starting to test traces > ')