Minor CLI cleanup

This commit is contained in:
Davis King 2014-02-22 22:03:49 -05:00
parent 89bc542712
commit 29658c4c76
1 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ parse_args (command_line_parser& parser, int argc, char* argv[])
parser.add_option ("train-best", parser.add_option ("train-best",
"Train and save a network using best parameters", 1); "Train and save a network using best parameters", 1);
parser.set_group_name("Algorithm Specific Options");
// Algorithm-specific options // Algorithm-specific options
parser.add_option ("rbk-gamma", parser.add_option ("rbk-gamma",
"Width of radial basis kernels: {float}.",1); "Width of radial basis kernels: {float}.",1);
@ -78,7 +79,7 @@ parse_args (command_line_parser& parser, int argc, char* argv[])
// Check if the -h option was given // Check if the -h option was given
if (parser.option("h") || parser.option("help")) { if (parser.option("h") || parser.option("help")) {
std::cout << "Usage: dlib_test [-a algorithm] --in input_file\n"; std::cout << "Usage: mltool [-a algorithm] --in input_file\n";
parser.print_options(std::cout); parser.print_options(std::cout);
std::cout << std::endl; std::cout << std::endl;
exit (0); exit (0);