Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: tools/gn/command_help.cc

Issue 500423003: Enhance GN diagnostic tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use patterns for gn check Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/command_desc.cc ('k') | tools/gn/command_ls.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_help.cc
diff --git a/tools/gn/command_help.cc b/tools/gn/command_help.cc
index f371cf72ec832b154b1d2dca43de435350673c58..ef5f70bcca0b02e8e14a461a5f3ce44199f309e4 100644
--- a/tools/gn/command_help.cc
+++ b/tools/gn/command_help.cc
@@ -10,7 +10,7 @@
#include "tools/gn/err.h"
#include "tools/gn/functions.h"
#include "tools/gn/input_conversion.h"
-#include "tools/gn/pattern.h"
+#include "tools/gn/label_pattern.h"
#include "tools/gn/setup.h"
#include "tools/gn/standard_out.h"
#include "tools/gn/substitution_writer.h"
@@ -93,9 +93,9 @@ void PrintToplevelHelp() {
OutputString("\nOther help topics:\n");
PrintShortHelp("buildargs: How build arguments work.");
PrintShortHelp("dotfile: Info about the toplevel .gn file.");
+ PrintShortHelp("label_pattern: Matching more than one label.");
PrintShortHelp(
"input_conversion: Processing input from exec_script and read_file.");
- PrintShortHelp("patterns: How to use patterns.");
PrintShortHelp("source_expansion: Map sources to outputs for scripts.");
}
@@ -166,8 +166,8 @@ int RunHelp(const std::vector<std::string>& args) {
PrintLongHelp(kInputConversion_Help);
return 0;
}
- if (args[0] == "patterns") {
- PrintLongHelp(kPattern_Help);
+ if (args[0] == "label_pattern") {
+ PrintLongHelp(kLabelPattern_Help);
return 0;
}
if (args[0] == "source_expansion") {
« no previous file with comments | « tools/gn/command_desc.cc ('k') | tools/gn/command_ls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698