forgot to escape after 'help'

pull/13383/head
Gary Bradski 14 years ago
parent c1a862f175
commit cd94b8c00e
  1. 7
      samples/cpp/3calibration.cpp

@ -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 )
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++ )

Loading…
Cancel
Save