works with slsDetectorUtils and slsDetectorCommand

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@392 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi 2012-02-17 10:38:17 +00:00
parent 590e611afc
commit aebb60c5ae

View File

@ -21,11 +21,11 @@ int main(int argc, char *argv[])
#ifdef READOUT
action=slsDetector::READOUT_ACTION;
action=READOUT_ACTION;
#elif PUT
action=slsDetector::PUT_ACTION;
action=PUT_ACTION;
#elif GET
action=slsDetector::GET_ACTION;
action=GET_ACTION;
#endif
@ -57,7 +57,7 @@ int main(int argc, char *argv[])
cout << "Wrong usage - should be: "<< argv[0] << " id";
cout << "(:channel arg)" << endl;
cout << slsDetector::helpLine(action);
cout << slsDetector::helpLine(argc-1, argv+1, action);
cout << endl;
return -1;
@ -70,7 +70,7 @@ int main(int argc, char *argv[])
cout << "Wrong usage - should be: "<< argv[0] << " id";
cout << ":channel arg" << endl;
cout << slsDetector::helpLine(action);
cout << slsDetector::helpLine(argc-1, argv+1, action);
cout << endl;
return -1;