Definition at line 120 of file CmdOptions.h.
References ConfigureLogSystem(), DoParseArgs(), ILOG_ERROR, IMPALA_VERSION_STR, ShowUsage(), and SVN_VERSION_STR.
Referenced by Impala::Application::main(), main(), Impala::Application::mainActiveLearner(), Impala::Application::mainAnnoVidSet(), Impala::Application::mainBackground(), Impala::Application::Client::mainClient(), Impala::Application::mainConceptLearnClient(), Impala::Application::mainConstructCodebook(), Impala::Samples::mainCoreTest(), Impala::Application::mainCrossValidate(), Impala::Application::DataTransfer::mainDataTransfer(), Impala::Application::DemoCamera2d::mainDemoCamera2d(), Impala::Application::FileClient::mainFileClient(), Impala::Application::mainFileServer(), Impala::Application::IDash::mainIDash(), Impala::Application::IDash::mainIDashServer(), Impala::Application::Im::mainIm(), Impala::Application::mainImBrowse(), Impala::Application::mainImSet(), Impala::Application::mainJobRunner(), Impala::Application::mainJobServer(), Impala::Samples::MonetTest::mainMonetTest(), Impala::Application::mainPlay(), Impala::Application::Repository::mainRepository(), Impala::Application::mainServer(), Impala::Application::mainShotSegmentation(), Impala::Application::mainShow(), Impala::Application::mainShowImSet(), Impala::Application::mainShowVidSet(), Impala::Application::Src::mainSrc(), Impala::Application::Table::mainTable(), Impala::Samples::Talk::mainTalk(), Impala::Application::mainTrainModel(), Impala::Application::mainTrecResult(), Impala::Application::mainTrecSearch(), Impala::Application::Util::mainUtil(), Impala::Application::mainVdiff(), Impala::Application::mainVidBrowse(), Impala::Application::Video::mainVideo(), Impala::Application::VideoExcel::mainVideoExcel(), Impala::Application::mainVideoJobManager(), Impala::Application::VidSet::mainVidSet(), RandomForest(), and SetUpOptions().
00121 {
00122 if ((argc > 1) && (String(argv[1]) == "--version"))
00123 {
00124 std::cout << "Impala version " << IMPALA_VERSION_STR
00125 << ", svnversion " << SVN_VERSION_STR
00126 << ", build on " << __DATE__ << " at " << __TIME__
00127 << std::endl;
00128 return false;
00129 }
00130
00131 String parseError = DoParseArgs(argc, argv, usageStr, nrReqArgs);
00132 ConfigureLogSystem();
00133 if (parseError.empty())
00134 return true;
00135
00136 ILOG_ERROR(parseError);
00137 ShowUsage(argv[0], usageStr);
00138 return false;
00139 }
Here is the call graph for this function: