Display version on minerd --help usage output.

This commit is contained in:
Jeff Garzik 2010-12-06 20:21:22 -05:00 committed by Jeff Garzik
parent f1fcd76ba7
commit ce1c9a8aca

View file

@ -327,6 +327,7 @@ static void show_usage(void)
{
int i;
printf("minerd version %s\n\n", VERSION);
printf("Usage:\tminerd [options]\n\nSupported options:\n");
for (i = 0; i < ARRAY_SIZE(options_help); i++) {
struct option_help *h;