From cd94b8c00e4613bba7b74ca22c3ae0bee49b185d Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Tue, 23 Nov 2010 08:13:53 +0000 Subject: [PATCH] forgot to escape after 'help' --- samples/cpp/3calibration.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/samples/cpp/3calibration.cpp b/samples/cpp/3calibration.cpp index cc9011c3ea..1da623dfce 100644 --- a/samples/cpp/3calibration.cpp +++ b/samples/cpp/3calibration.cpp @@ -12,7 +12,7 @@ using namespace std; 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" @@ -197,7 +197,10 @@ int main( int argc, char** argv ) vector imageList; if(argc < 2) - test(); + { + help(); + return 1; + } for( i = 1; i < argc; i++ )