aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/compress.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-23 11:15:57 +0200
committerSimon Warta <[email protected]>2015-06-23 11:15:57 +0200
commit167f65f9f20746d1a92456505e94c11c8b8552fd (patch)
treeadb000640e1de3b4b7ad01bfa050fa38b798acd5 /src/cmd/compress.cpp
parent43e3c4555c9f2535f18741f3e252b3c93cbbaeca (diff)
parent629ae37ebe273332d4b086661b06d8717dfdb937 (diff)
Merge pull request #129 from webmaster128/cmd-endl
Replace \n by std::endl in /src/cmd
Diffstat (limited to 'src/cmd/compress.cpp')
-rw-r--r--src/cmd/compress.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/compress.cpp b/src/cmd/compress.cpp
index d7456fc31..62f9eb7dc 100644
--- a/src/cmd/compress.cpp
+++ b/src/cmd/compress.cpp
@@ -37,7 +37,7 @@ int compress(int argc, char* argv[])
{
if(argc != 2 && argc != 3 && argc != 4)
{
- std::cout << "Usage: " << argv[0] << " input [type] [level]\n";
+ std::cout << "Usage: " << argv[0] << " input [type] [level]" << std::endl;
return 1;
}
@@ -46,7 +46,7 @@ int compress(int argc, char* argv[])
if(!in.good())
{
- std::cout << "Couldn't read " << in_file << "\n";
+ std::cout << "Couldn't read " << in_file << std::endl;
return 1;
}
@@ -57,7 +57,7 @@ int compress(int argc, char* argv[])
if(!compress)
{
- std::cout << suffix << " compression not supported\n";
+ std::cout << suffix << " compression not supported" << std::endl;
return 1;
}
@@ -88,7 +88,7 @@ int uncompress(int argc, char* argv[])
if(!in.good())
{
- std::cout << "Couldn't read " << argv[1] << "\n";
+ std::cout << "Couldn't read '" << argv[1] << "'" << std::endl;
return 1;
}
@@ -101,7 +101,7 @@ int uncompress(int argc, char* argv[])
if(!decompress)
{
- std::cout << suffix << " decompression not supported\n";
+ std::cout << suffix << " decompression not supported" << std::endl;
return 1;
}