help line is not static any longer

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@397 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi 2012-03-15 15:07:38 +00:00
parent e66ab33ebd
commit a7fd2b70a1

View File

@ -78,7 +78,7 @@ int main(int argc, char *argv[])
} else {
#ifdef GET
cout << "Wrong usage - should be: "<< argv[0] << "[id:/id-]channel" << endl;
cout << slsDetectorCommand::helpLine(argc-1, argv, action);
// cout << slsDetectorCommand::helpLine(argc-1, argv, action);
cout << endl;
return -1;
#endif
@ -86,7 +86,7 @@ int main(int argc, char *argv[])
#ifdef PUT
if (argc<3) {
cout << "Wrong usage - should be: "<< argv[0] << "[id:/id-]channel arg" << endl;
cout << slsDetectorCommand::helpLine(argc-1, argv+1, action);
// cout << slsDetectorCommand::helpLine(argc-1, argv+1, action);
cout << endl;
return -1;
}
@ -101,7 +101,7 @@ int main(int argc, char *argv[])
#ifdef PUT
if (argc<3) {
cout << "Wrong usage - should be: "<< argv[0] <<" " << argv[1]<< " arg" << endl;
cout << slsDetectorCommand::helpLine(argc-1, argv+1, action);
//cout << slsDetectorCommand::helpLine(argc-1, argv+1, action);
cout << endl;
return -1;
}