aboutsummaryrefslogtreecommitdiff
path: root/cpu-miner.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-12-06 20:21:22 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-12-06 20:21:22 -0500
commitce1c9a8aca8b5fa43a3bcf577b1897e5e6a5cf3d (patch)
tree7b13e63f758b35e72f8a0b5d892c69e2f97ac8fa /cpu-miner.c
parentf1fcd76ba7514003135f3d76ef2308b86b754507 (diff)
Display version on minerd --help usage output.
Diffstat (limited to 'cpu-miner.c')
-rw-r--r--cpu-miner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu-miner.c b/cpu-miner.c
index db1fd57..5371296 100644
--- a/cpu-miner.c
+++ b/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;