diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-12-06 20:21:22 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-12-06 20:21:22 -0500 |
commit | ce1c9a8aca8b5fa43a3bcf577b1897e5e6a5cf3d (patch) | |
tree | 7b13e63f758b35e72f8a0b5d892c69e2f97ac8fa | |
parent | f1fcd76ba7514003135f3d76ef2308b86b754507 (diff) |
Display version on minerd --help usage output.
-rw-r--r-- | cpu-miner.c | 1 |
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; |