aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/x509print.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-23 09:46:53 +0200
committerSimon Warta <[email protected]>2015-06-23 09:46:53 +0200
commit629ae37ebe273332d4b086661b06d8717dfdb937 (patch)
treeadb000640e1de3b4b7ad01bfa050fa38b798acd5 /src/cmd/x509print.cpp
parent43e3c4555c9f2535f18741f3e252b3c93cbbaeca (diff)
Replace \n by std::endl in /src/cmd
to ensure proper flusing
Diffstat (limited to 'src/cmd/x509print.cpp')
-rw-r--r--src/cmd/x509print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/x509print.cpp b/src/cmd/x509print.cpp
index 4bc46d5b9..c95ab6cdb 100644
--- a/src/cmd/x509print.cpp
+++ b/src/cmd/x509print.cpp
@@ -14,13 +14,13 @@ int x509print(int argc, char* argv[])
{
if(argc < 1)
{
- std::cout << "Usage: " << argv[0] << " cert.pem\n";
+ std::cout << "Usage: " << argv[0] << " cert.pem" << std::endl;
return 1;
}
X509_Certificate cert(argv[1]);
- std::cout << cert.to_string() << "\n";
+ std::cout << cert.to_string() << std::endl;
return 0;
}