Browse Source

Display version on minerd --help usage output.

Jeff Garzik 15 years ago
parent
commit
ce1c9a8aca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cpu-miner.c

+ 1 - 0
cpu-miner.c

@@ -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;