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

Unified Diff: tools/gn/command_args.cc

Issue 2134933002: Suggest `gn help` for internally set arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_args.cc
diff --git a/tools/gn/command_args.cc b/tools/gn/command_args.cc
index 12c20d75027952c3b06ca9ea0e99ae29a4ae9416..3b3dde627a006924b02ec0529d7474e8d4ee22a2 100644
--- a/tools/gn/command_args.cc
+++ b/tools/gn/command_args.cc
@@ -111,7 +111,8 @@ void PrintArgHelp(const base::StringPiece& name, const Value& value) {
GetContextForValue(value, &location, &comment);
OutputString(" " + location + "\n" + comment);
} else {
- OutputString(" (Internally set)\n");
+ OutputString(" (Internally set; try `gn help " + name.as_string() +
+ "`.)\n");
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698