1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-17 03:50:03 +02:00

src/main.cpp: minor bug-fix, should be or instead of and when checking "-h" or "--help" flags.

This commit is contained in:
Henrik Hautakoski 2020-01-14 09:51:34 +01:00
parent 58c83b2795
commit 6ab7a9affa

View file

@ -100,7 +100,7 @@ int main(int argc, char **argv) {
// search <word_list> [ <count> ]
if (argc > 1) {
if (!strcmp(argv[1], "-h") && !strcmp(argv[1], "--help")) {
if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) {
usage(argv[0]);
return 0;
}