mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-04 12:03:41 +02:00
src/main.cpp: for search, change default count from 100 to 10.
This commit is contained in:
parent
1546d3c81c
commit
26ddf38ef7
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ void cmd_search(int argc, char **argv) {
|
||||||
void usage(const char *name) {
|
void usage(const char *name) {
|
||||||
|
|
||||||
std::cout << name
|
std::cout << name
|
||||||
<< " [ --help|-h ] [ search <word_list> [ <count:100> ]"
|
<< " [ --help|-h ] [ search <word_list> [ <count:10> ]"
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
<< " [ <threads:2> ]"
|
<< " [ <threads:2> ]"
|
||||||
#endif /* HAVE_THREADS */
|
#endif /* HAVE_THREADS */
|
||||||
|
|
@ -106,7 +106,7 @@ int main(int argc, char **argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcmp(argv[1], "search")) {
|
if (!strcmp(argv[1], "search")) {
|
||||||
int n = 100;
|
int n = 10;
|
||||||
std::string search;
|
std::string search;
|
||||||
strlist_t words;
|
strlist_t words;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue