Skip to content

Commit

Permalink
Tweak pvlist output to make it easier to cut/paste w/o picking up unw…
Browse files Browse the repository at this point in the history
…anted syntax
  • Loading branch information
bhill-slac authored and mdavidsaver committed Sep 26, 2019
1 parent 8ae4e55 commit 866b75a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pvtoolsSrc/pvlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,16 +611,16 @@ int main (int argc, char *argv[])
const ServerEntry& entry = iter->second;

cout << "GUID 0x" << entry.guid << " version " << (int)entry.version << ": "
<< entry.protocol << "@[";
<< entry.protocol << "@[ ";

size_t count = entry.addresses.size();
for (size_t i = 0; i < count; i++)
{
cout << inetAddressToString(entry.addresses[i]);
if (i < (count-1))
cout << ", ";
cout << " ";
}
cout << ']' << endl;
cout << " ]" << endl;
}
}
else
Expand Down

0 comments on commit 866b75a

Please sign in to comment.