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

Unified Diff: tools/gn/command_help.cc

Issue 1841013003: Update GN documentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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 | tools/gn/docs/language.md » ('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 8c1659b2105c9703c41db171da46dadd6b50e63c..9bac894f9d6db1f62229e9d4008847be6acd6da2 100644
--- a/tools/gn/command_help.cc
+++ b/tools/gn/command_help.cc
@@ -153,8 +153,21 @@ const char kHelp_HelpShort[] =
"help: Does what you think.";
const char kHelp_Help[] =
"gn help <anything>\n"
+ "\n"
" Yo dawg, I heard you like help on your help so I put help on the help\n"
- " in the help.\n";
+ " in the help.\n"
+ "\n"
+ " You can also use \"all\" as the parameter to get all help at once.\n"
+ "\n"
+ "Switches\n"
+ "\n"
+ " --markdown\n"
+ " Format output in markdown syntax.\n"
+ "\n"
+ "Example\n"
+ "\n"
+ " gn help --markdown all\n"
+ " Dump all help to stdout in markdown format.\n";
int RunHelp(const std::vector<std::string>& args) {
std::string what;
« no previous file with comments | « no previous file | tools/gn/docs/language.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698