mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
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:
parent
590e611afc
commit
aebb60c5ae
@ -21,11 +21,11 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
|
|
||||||
#ifdef READOUT
|
#ifdef READOUT
|
||||||
action=slsDetector::READOUT_ACTION;
|
action=READOUT_ACTION;
|
||||||
#elif PUT
|
#elif PUT
|
||||||
action=slsDetector::PUT_ACTION;
|
action=PUT_ACTION;
|
||||||
#elif GET
|
#elif GET
|
||||||
action=slsDetector::GET_ACTION;
|
action=GET_ACTION;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ int main(int argc, char *argv[])
|
|||||||
cout << "Wrong usage - should be: "<< argv[0] << " id";
|
cout << "Wrong usage - should be: "<< argv[0] << " id";
|
||||||
cout << "(:channel arg)" << endl;
|
cout << "(:channel arg)" << endl;
|
||||||
|
|
||||||
cout << slsDetector::helpLine(action);
|
cout << slsDetector::helpLine(argc-1, argv+1, action);
|
||||||
|
|
||||||
cout << endl;
|
cout << endl;
|
||||||
return -1;
|
return -1;
|
||||||
@ -70,7 +70,7 @@ int main(int argc, char *argv[])
|
|||||||
cout << "Wrong usage - should be: "<< argv[0] << " id";
|
cout << "Wrong usage - should be: "<< argv[0] << " id";
|
||||||
cout << ":channel arg" << endl;
|
cout << ":channel arg" << endl;
|
||||||
|
|
||||||
cout << slsDetector::helpLine(action);
|
cout << slsDetector::helpLine(argc-1, argv+1, action);
|
||||||
|
|
||||||
cout << endl;
|
cout << endl;
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user