mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
src/main.cpp: fix bug in command line parsing for search. loop should check for argc - 1 (first param is program name)
This commit is contained in:
parent
67df405309
commit
b24ea1fc83
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
if (!strcmp(argv[p], "search")) {
|
||||
|
||||
while(p++ < argc) {
|
||||
while(p++ < argc - 1) {
|
||||
if (!strcmp(argv[p], "--l33t")) {
|
||||
option_l33t = true;
|
||||
} else if (!memcmp(argv[p], "--threads=", 10)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue