diff --git a/eth/main.cpp b/eth/main.cpp index e5501d37c..0b287471d 100644 --- a/eth/main.cpp +++ b/eth/main.cpp @@ -113,7 +113,7 @@ void help() << " -c,--client-name Add a name to your client's version string (default: blank)." << endl << " -d,--db-path Load database from path (default: ~/.ethereum " << endl << " /Etherum or Library/Application Support/Ethereum)." << endl - << " -D,--initdag Initialize DAG for mining on given block and exit." << endl + << " -D,--create-dag Create the DAG in preparation for mining on given block and exit." << endl << " -e,--ether-price Set the ether price in the reference unit e.g. ยข (Default: 30.679)." << endl << " -f,--force-mining Mine even when there are no transaction to mine (Default: off)" << endl << " -h,--help Show this help message and exit." << endl @@ -309,7 +309,7 @@ int main(int argc, char** argv) structuredLogging = true; else if ((arg == "-d" || arg == "--path" || arg == "--db-path") && i + 1 < argc) dbPath = argv[++i]; - else if ((arg == "-D" || arg == "--initdag") && i + 1 < argc) + else if ((arg == "-D" || arg == "--create-dag") && i + 1 < argc) { string m = boost::to_lower_copy(string(argv[++i])); if (m == "next") @@ -466,7 +466,7 @@ int main(int argc, char** argv) bi.number = (initDAG == LatestBlock || initDAG == PendingBlock) ? web3.ethereum()->blockChain().number() + (initDAG == PendingBlock ? 30000 : 0) : initDAG; - cout << "Initializing DAG for epoch beginning #" << (bi.number / 30000 * 30000) << " (seedhash " << bi.seedHash() << "). This will take a while." << endl; + cout << "Initializing DAG for epoch beginning #" << (bi.number / 30000 * 30000) << " (seedhash " << bi.seedHash().abridged() << "). This will take a while." << endl; Ethasher::get()->full(bi); return 0; }