docs: Fix typo in analyze docstring Change-Id: Ie41ed2d302b8a3c2901492737d25e7681ce55f97 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/9040 Reviewed-by: Dirk Pranke <dpranke@google.com> Commit-Queue: Scott Graham <scottmg@chromium.org>
diff --git a/src/gn/command_analyze.cc b/src/gn/command_analyze.cc index c6901e4..3000b34 100644 --- a/src/gn/command_analyze.cc +++ b/src/gn/command_analyze.cc
@@ -23,7 +23,7 @@ const char kAnalyze_HelpShort[] = "analyze: Analyze which targets are affected by a list of files."; const char kAnalyze_Help[] = - R"(gn analyze <out_dir> <input_path> <output_path> + R"DOC(gn analyze <out_dir> <input_path> <output_path> Analyze which targets are affected by a list of files. @@ -75,7 +75,7 @@ - "Found dependency" - "No dependency" - - "Found dependency (all) " + - "Found dependency (all)" In the first case, the lists returned in compile_targets and test_targets should be passed to ninja to build. In the second case, nothing was @@ -95,7 +95,7 @@ "error" key is non-empty and a non-fatal error occurred. In other words, it tries really hard to always write something to the output JSON and convey errors that way rather than via return codes. -)"; +)DOC"; int RunAnalyze(const std::vector<std::string>& args) { if (args.size() != 3) {