OLD | NEW |
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 Loading... |
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 |
OLD | NEW |