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

Unified Diff: tools/gn/command_help.cc

Issue 2481423002: Convert gn docstrings to C++11 raw strings. (Closed)
Patch Set: Fixes Created 4 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/command_gen.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 68f0d0455dca94b2b848577cc0f281d936397ce9..b8e17e0b169aa79e58e4eb97d0870763ee6f4ab4 100644
--- a/tools/gn/command_help.cc
+++ b/tools/gn/command_help.cc
@@ -152,22 +152,23 @@ const char kHelp[] = "help";
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"
- "\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";
+ R"(gn help <anything>
+
+ Yo dawg, I heard you like help on your help so I put help on the help in the
+ help.
+
+ You can also use "all" as the parameter to get all help at once.
+
+Switches
+
+ --markdown
+ Format output in markdown syntax.
+
+Example
+
+ gn help --markdown all
+ Dump all help to stdout in markdown format.
+)";
int RunHelp(const std::vector<std::string>& args) {
std::string what;
« no previous file with comments | « tools/gn/command_gen.cc ('k') | tools/gn/command_ls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698