cli cerr/cout flush
Write less extraneous information to stdout, and ensure flush() at opportune times
This commit is contained in:
1 parent
086501a1b0
commit
090bf5ff97
6 files changed
+12
-8
No files matched your search
+2
-2
@@ -113,7 +113,7 @@ int REALMAIN(int argc, char *argv[])
|
||||
auto ctxt(client::Context::fromEnv());
|
||||
|
||||
if(verbose)
|
||||
std::cout<<"Effective config\n"<<ctxt.config();
|
||||
std::cerr<<"Effective config\n"<<ctxt.config();
|
||||
|
||||
epicsEvent done;
|
||||
int ret=0;
|
||||
@@ -143,7 +143,7 @@ int REALMAIN(int argc, char *argv[])
|
||||
if(verbose) {
|
||||
std::cout<<"Writing fields:\n";
|
||||
Indented I(std::cout);
|
||||
std::cout<<val.format().delta()<<"\n";
|
||||
std::cout<<val.format().delta()<<std::endl;
|
||||
}
|
||||
return val;
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user