From e66ab33ebd7591fcc9cc68f255670862b26a4480 Mon Sep 17 00:00:00 2001 From: x04sa Date: Fri, 9 Mar 2012 14:40:38 +0000 Subject: [PATCH] returns parameter and answer git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@396 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/slsDetectorClient/Makefile | 1 - .../slsDetectorClient/sls_detector_client.cpp | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/slsDetectorClient/Makefile b/slsDetectorSoftware/slsDetectorClient/Makefile index 96856e255..efab6fbbe 100644 --- a/slsDetectorSoftware/slsDetectorClient/Makefile +++ b/slsDetectorSoftware/slsDetectorClient/Makefile @@ -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 diff --git a/slsDetectorSoftware/slsDetectorClient/sls_detector_client.cpp b/slsDetectorSoftware/slsDetectorClient/sls_detector_client.cpp index 0783baa4c..7be931809 100644 --- a/slsDetectorSoftware/slsDetectorClient/sls_detector_client.cpp +++ b/slsDetectorSoftware/slsDetectorClient/sls_detector_client.cpp @@ -34,7 +34,10 @@ int main(int argc, char *argv[]) #elif HELP action=HELP_ACTION; #endif - +#ifdef VERBOSE + for (int ia=0; ia1){ @@ -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;