cpp: fix "commom" typo in AddLoggingArgs() documentation
The correct spelling of it, is, of course, "common".
While at this, this also fix a mistaken usage of "from" instead of
"form" in ConvertPath() documentation.
--
Change-Id: If93984b57da0c98b6dfe4ca70fd4158bd9e1a861
Reviewed-on: https://bazel-review.googlesource.com/#/c/3500
MOS_MIGRATED_REVID=120921796
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc
index bc02342..1cdef6b 100644
--- a/src/main/cpp/blaze.cc
+++ b/src/main/cpp/blaze.cc
@@ -468,7 +468,7 @@
return result;
}
-// Add commom command options for logging to the given argument array.
+// Add common command options for logging to the given argument array.
static void AddLoggingArgs(vector<string>* args) {
args->push_back("--startup_time=" + ToString(globals->startup_time));
if (globals->command_wait_time != 0) {
@@ -508,8 +508,7 @@
}
// Check the java version if a java version specification is bundled. On
-// success,
-// return the executable path of the java command.
+// success, returns the executable path of the java command.
static string VerifyJavaVersionAndGetJvm() {
string exe = globals->options.GetJvm();
diff --git a/src/main/cpp/blaze_util_platform.h b/src/main/cpp/blaze_util_platform.h
index 326899e..3d3463c 100644
--- a/src/main/cpp/blaze_util_platform.h
+++ b/src/main/cpp/blaze_util_platform.h
@@ -74,7 +74,7 @@
// Convert a path from Bazel internal form to underlying OS form.
// On Unixes this is an identity operation.
-// On Windows, Bazel internal from is cygwin path, and underlying OS form
+// On Windows, Bazel internal form is cygwin path, and underlying OS form
// is Windows path.
std::string ConvertPath(const std::string& path);