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

Side by Side Diff: tools/gn/command_path.cc

Issue 2807193004: gn path: Add missing newline to output summary (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 stats.public_paths)); 396 stats.public_paths));
397 } 397 }
398 OutputString("\n"); 398 OutputString("\n");
399 } else { 399 } else {
400 // Showing one path when there are many. 400 // Showing one path when there are many.
401 OutputString( 401 OutputString(
402 base::StringPrintf("Showing one of %d \"interesting\" %spaths.", 402 base::StringPrintf("Showing one of %d \"interesting\" %spaths.",
403 stats.total_paths(), path_annotation), 403 stats.total_paths(), path_annotation),
404 DECORATION_YELLOW); 404 DECORATION_YELLOW);
405 if (!options.public_only) { 405 if (!options.public_only) {
406 OutputString(base::StringPrintf(" %d of them are public.\n", 406 OutputString(
407 stats.public_paths)); 407 base::StringPrintf(" %d of them are public.", stats.public_paths));
408 } 408 }
409 OutputString("Use --all to print all paths.\n"); 409 OutputString("\nUse --all to print all paths.\n");
410 } 410 }
411 } 411 }
412 return 0; 412 return 0;
413 } 413 }
414 414
415 } // namespace commands 415 } // namespace commands
OLDNEW
« 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