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

Unified Diff: tools/gn/command_help.cc

Issue 46003002: Add a target in GN that generates a last_change.h file for the SVN revision. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 7 years, 1 month 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/BUILD.gn ('k') | tools/gn/gn_main.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 954db121330e9665eaa9ea18be3274ba7aa732fa..8f8611eaa7004af54ebc9d886945253e59060ac2 100644
--- a/tools/gn/command_help.cc
+++ b/tools/gn/command_help.cc
@@ -51,6 +51,8 @@ void PrintToplevelHelp() {
"--tracelog: Writes a Chrome-compatible trace log to the given file.");
PrintShortHelp(
"-v: Verbose mode, print lots of logging.");
+ PrintShortHelp(
+ "--version: Print the GN binary's version and exit.");
// Functions.
OutputString("\nBuildfile functions (type \"gn help <function>\" for more "
« no previous file with comments | « tools/gn/BUILD.gn ('k') | tools/gn/gn_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698