mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-23 07:37:23 +08:00
fix reveng getopt bug
This commit is contained in:
parent
f3790a89a5
commit
a2a5700a85
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ int reveng_main(int argc, char *argv[]) {
|
|||
|
||||
// pos=0; --- not in this ver of getopt
|
||||
optind = 1;
|
||||
optreset = 1;
|
||||
do {
|
||||
c = getopt(argc, argv, "?A:BDFGLMP:SVXa:bcdefhi:k:lm:p:q:rstuvw:x:yz");
|
||||
switch (c) {
|
||||
|
|
Loading…
Reference in a new issue