We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1484350 commit cab47cfCopy full SHA for cab47cf
src/direwolf.c
@@ -373,7 +373,7 @@ int main (int argc, char *argv[])
373
374
/* ':' following option character means arg is required. */
375
376
- c = getopt_long(argc, argv, "P:B:gjJD:U:c:pxr:b:n:d:q:t:ul:L:Sa:E:T:e:X:",
+ c = getopt_long(argc, argv, "hP:B:gjJD:U:c:pxr:b:n:d:q:t:ul:L:Sa:E:T:e:X:",
377
long_options, &option_index);
378
if (c == -1)
379
break;
@@ -504,9 +504,10 @@ int main (int argc, char *argv[])
504
}
505
506
507
+ case 'h': // -h for help
508
case '?':
509
- /* Unknown option message was already printed. */
510
+ /* For '?' unknown option message was already printed. */
511
usage (argv);
512
513
0 commit comments