File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ int main (int argc, char* argv[])
2424
2525 po::options_description desc (" Allowed options" );
2626 desc.add_options ()
27- (" help" , " Show this help message" )
27+ (" help,h " , " Show this help message" )
2828 (" verbosity,v" , po::value<int >()->implicit_value (1 ),
2929" Enable verbosity (optionally specify level)" )
3030 (" command" , po::value< vector<string> >(), " Command" );
@@ -38,9 +38,12 @@ int main (int argc, char* argv[])
3838 po::notify (vm);
3939
4040 if (vm.count (" help" )) {
41- std::cout << appName + " \n " ;
42- std::cout << " <insert program description here>\n\n " ;
43- std::cout << " Usage: $ cpp_miner command [options]\n " ;
41+ std::cout << appName + " \n\n " ;
42+ std::cout << " Usage: $ cpp_miner command [options]\n\n " ;
43+ std::cout << " block miner\n\n " ;
44+ std::cout << mineUsage << std::endl << std::endl;
45+ std::cout << " genesis block miner\n\n " ;
46+ std::cout << genesisGenUsage << std::endl << std::endl;
4447 std::cout << desc;
4548 return 0 ;
4649 }
You can’t perform that action at this time.
0 commit comments