You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2008/06/11 00:56:19 UTC
svn commit: r666369 - /incubator/thrift/trunk/compiler/cpp/src/main.cc
Author: dreiss
Date: Tue Jun 10 15:56:19 2008
New Revision: 666369
URL: http://svn.apache.org/viewvc?rev=666369&view=rev
Log:
Add newlines to some warning messages in the compiler.
Modified:
incubator/thrift/trunk/compiler/cpp/src/main.cc
Modified: incubator/thrift/trunk/compiler/cpp/src/main.cc
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/main.cc?rev=666369&r1=666368&r2=666369&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/main.cc (original)
+++ incubator/thrift/trunk/compiler/cpp/src/main.cc Tue Jun 10 15:56:19 2008
@@ -950,7 +950,7 @@
} else if (strcmp(arg, "-gen") == 0) {
arg = argv[++i];
if (arg == NULL) {
- fprintf(stderr, "!!! Missing generator specification");
+ fprintf(stderr, "!!! Missing generator specification\n");
usage();
}
generator_strings.push_back(arg);
@@ -1011,14 +1011,14 @@
arg = argv[++i];
if (arg == NULL) {
- fprintf(stderr, "!!! Missing Include directory");
+ fprintf(stderr, "!!! Missing Include directory\n");
usage();
}
g_incl_searchpath.push_back(arg);
} else if (strcmp(arg, "-o") == 0) {
arg = argv[++i];
if (arg == NULL) {
- fprintf(stderr, "-o: missing output directory");
+ fprintf(stderr, "-o: missing output directory\n");
usage();
}
out_path = arg;