mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
returns parameter and answer
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@396 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
d859736838
commit
e66ab33ebd
@ -1,7 +1,6 @@
|
||||
CFLAGS= -DC_ONLY
|
||||
#FLAGS=-DVERBOSE
|
||||
INCLUDES= -I../slsDetectorSoftware/commonFiles -I../slsDetectorSoftware/slsDetector -I ../slsDetectorSoftware/MySocketTCP -I../slsDetectorSoftware/usersFunctions -I../slsDetectorSoftware/multiSlsDetector
|
||||
#LIBS=-L../TMythenDetector/bin/ -L$(QTDIR)/lib
|
||||
LIBS= -L../slsDetectorSoftware/
|
||||
LDFLAG= -lSlsDetector -lpthread
|
||||
|
||||
|
@ -34,7 +34,10 @@ int main(int argc, char *argv[])
|
||||
#elif HELP
|
||||
action=HELP_ACTION;
|
||||
#endif
|
||||
|
||||
#ifdef VERBOSE
|
||||
for (int ia=0; ia<argc; ia++)
|
||||
cout << argv[ia] << endl;
|
||||
#endif
|
||||
if (argc>1){
|
||||
|
||||
|
||||
@ -109,6 +112,7 @@ int main(int argc, char *argv[])
|
||||
answer=myCmd->executeLine(argc-1, argv, action);
|
||||
} else {
|
||||
answer=myCmd->executeLine(argc-1, argv+1, action);
|
||||
cout << argv[1] << " " ;
|
||||
}
|
||||
cout << answer<< endl;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user