Add newlines to some warning messages in the compiler.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666369 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/main.cc b/compiler/cpp/src/main.cc
index acb27a8..9f9c260 100644
--- a/compiler/cpp/src/main.cc
+++ b/compiler/cpp/src/main.cc
@@ -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;