mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
monster merge...
all those changes marshmellow did.. and more...
This commit is contained in:
parent
208550823d
commit
f28da2da6e
107 changed files with 5087 additions and 3777 deletions
|
@ -92,14 +92,14 @@ local function getopt(args, ostr)
|
|||
else
|
||||
table.remove(args, 1);
|
||||
if #args == 0 then -- an option requiring argument is the last one
|
||||
place = 0;
|
||||
if ostr:sub(1, 1) == ':' then return ':' end
|
||||
place = 0;
|
||||
if ostr:sub(1, 1) == ':' then return ':' end
|
||||
return '?';
|
||||
else arg = args[1] end
|
||||
end
|
||||
table.remove(args, 1);
|
||||
place = 0;
|
||||
end
|
||||
end
|
||||
table.remove(args, 1);
|
||||
place = 0;
|
||||
end
|
||||
return optopt, arg;
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue