Commit 3956330d authored by Davis King's avatar Davis King

simplified examples

parent 0c0db073
......@@ -77,7 +77,7 @@ int main(int argc, char** argv)
{
// display all the command line options
cout << "Usage: bsp_ex (-l port | <list of hosts>)\n";
parser.print_options(cout);
parser.print_options();
cout << endl;
return 0;
}
......
......@@ -96,7 +96,7 @@ int main(int argc, char** argv)
cout << "Usage: compress_stream_ex (-c|-d|-l) --in input_file --out output_file\n";
// This function prints out a nicely formatted list of
// all the options the parser has
parser.print_options(cout);
parser.print_options();
cout << endl;
return 0;
......
......@@ -124,7 +124,7 @@ int main(int argc, char** argv)
if (parser.option("h"))
{
cout << "Usage: train_object_detector [options] <image dataset file|image file>\n";
parser.print_options(cout);
parser.print_options();
cout << endl;
return EXIT_SUCCESS;
......
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