Changing default request string to 'field()'

This commit is contained in:
Evan J. Smith
2018-09-12 09:48:41 -04:00
committed by mdavidsaver
parent d4f3abf461
commit 30f07f2fb6

View File

@ -42,7 +42,7 @@ namespace {
bool debugFlag = false;
string request("field(value)");
string request("field()");
string defaultProvider("pva");
enum PrintMode { ValueOnlyMode, StructureMode, TerseMode };
@ -80,7 +80,7 @@ void printValue(std::string const & channelName, PVStructure::shared_pointer con
PVField::shared_pointer value = pv->getSubField("value");
if (value.get() == 0)
{
std::cerr << "no 'value' field\n";
//std::cerr << "no 'value' field\n";
pvutil_ostream myos(std::cout);
myos << channelName << "\n" << *(pv.get()) << "\n\n";
}