Commit cd94b8c0 authored by Gary Bradski's avatar Gary Bradski

forgot to escape after 'help'

parent c1a862f1
...@@ -12,7 +12,7 @@ using namespace std; ...@@ -12,7 +12,7 @@ using namespace std;
enum { DETECTION = 0, CAPTURING = 1, CALIBRATED = 2 }; enum { DETECTION = 0, CAPTURING = 1, CALIBRATED = 2 };
void test() void help()
{ {
printf( "This is a camera calibration sample that calibrates 3 horizontally placed cameras together.\n" printf( "This is a camera calibration sample that calibrates 3 horizontally placed cameras together.\n"
...@@ -197,7 +197,10 @@ int main( int argc, char** argv ) ...@@ -197,7 +197,10 @@ int main( int argc, char** argv )
vector<string> imageList; vector<string> imageList;
if(argc < 2) if(argc < 2)
test(); {
help();
return 1;
}
for( i = 1; i < argc; i++ ) for( i = 1; i < argc; i++ )
......
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