Browse Source

Display version on minerd --help usage output.

nfactor-troky
Jeff Garzik 14 years ago committed by Jeff Garzik
parent
commit
ce1c9a8aca
  1. 1
      cpu-miner.c

1
cpu-miner.c

@ -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…
Cancel
Save