Commit 29658c4c authored by Davis King's avatar Davis King

Minor CLI cleanup

parent 89bc5427
...@@ -41,6 +41,7 @@ parse_args (command_line_parser& parser, int argc, char* argv[]) ...@@ -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[]) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment