diff --git a/testApp/remote/eget.cpp b/testApp/remote/eget.cpp index a4a18c1..49f7e0e 100644 --- a/testApp/remote/eget.cpp +++ b/testApp/remote/eget.cpp @@ -759,7 +759,8 @@ int main (int argc, char *argv[]) break; case 'r': /* Set pvRequest value */ request = optarg; - mode = StructureMode; + // do not override terse mode + if (mode == ValueOnlyMode) mode = StructureMode; break; case 'p': /* Service parameters */ { diff --git a/testApp/remote/pvget.cpp b/testApp/remote/pvget.cpp index 69d3850..10faffc 100644 --- a/testApp/remote/pvget.cpp +++ b/testApp/remote/pvget.cpp @@ -311,14 +311,16 @@ class MonitorRequesterImpl : public MonitorRequester str.reserve(16*1024*1024); - str += "\n"; + //str += "\n"; str += m_channelName; str += ": "; + /* element->changedBitSet->toString(&str); str += '/'; element->overrunBitSet->toString(&str); str += '\n'; + */ if (terseMode) convertToString(&str, element->pvStructurePtr.get(), 0); diff --git a/testApp/remote/pvput.cpp b/testApp/remote/pvput.cpp index e6baa82..dec09eb 100644 --- a/testApp/remote/pvput.cpp +++ b/testApp/remote/pvput.cpp @@ -554,7 +554,7 @@ int main (int argc, char *argv[]) setvbuf(stdout,NULL,_IOLBF,BUFSIZ); /* Set stdout to line buffering */ - while ((opt = getopt(argc, argv, ":hr:w:t")) != -1) { + while ((opt = getopt(argc, argv, ":hr:w:td")) != -1) { switch (opt) { case 'h': /* Print usage */ usage();