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

Unified Diff: tools/gn/command_help.cc

Issue 2773043005: GN: Trim newlines in markdown help blocks (Closed)
Patch Set: Created 3 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/standard_out.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 2d859b108691b072985c22db17c942ef5d262ac2..eb134562bce53285add1de1dd91c07c73e8abe98 100644
--- a/tools/gn/command_help.cc
+++ b/tools/gn/command_help.cc
@@ -87,13 +87,13 @@ void PrintSwitchHelp() {
" help on your specific command for more.\n\n");
if (is_markdown)
- OutputString("```\n\n", DECORATION_NONE);
+ OutputString("```\n", DECORATION_NONE);
for (const auto& s : switches::GetSwitches())
PrintShortHelp(s.second.short_help);
if (is_markdown)
- OutputString("\n```\n", DECORATION_NONE);
+ OutputString("```\n", DECORATION_NONE);
OutputString("\n");
}
« no previous file with comments | « no previous file | tools/gn/standard_out.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698