Display version on minerd --help usage output.
This commit is contained in:
parent
f1fcd76ba7
commit
ce1c9a8aca
1 changed files with 1 additions and 0 deletions
|
@ -327,6 +327,7 @@ static void show_usage(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
printf("minerd version %s\n\n", VERSION);
|
||||||
printf("Usage:\tminerd [options]\n\nSupported options:\n");
|
printf("Usage:\tminerd [options]\n\nSupported options:\n");
|
||||||
for (i = 0; i < ARRAY_SIZE(options_help); i++) {
|
for (i = 0; i < ARRAY_SIZE(options_help); i++) {
|
||||||
struct option_help *h;
|
struct option_help *h;
|
||||||
|
|
Loading…
Reference in a new issue