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

Unified Diff: tools/gn/command_args.cc

Issue 115323009: Fix help and error messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 12 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 | « tools/gn/builder.cc ('k') | tools/gn/command_desc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_args.cc
===================================================================
--- tools/gn/command_args.cc (revision 243014)
+++ tools/gn/command_args.cc (working copy)
@@ -106,10 +106,10 @@
"gn args [arg name]\n"
" Displays all arguments declared by buildfiles along with their\n"
" description. Build arguments are anything in a declare_args() block\n"
- " in any buildfile. The comment preceeding the declaration will be\n"
+ " in any buildfile. The comment preceding the declaration will be\n"
" displayed here (so comment well!).\n"
"\n"
- " These arguments can be overriden on the command-line:\n"
+ " These arguments can be overridden on the command-line:\n"
" --args=\"doom_melon_setting=5 component_build=1\"\n"
" or in a toolchain definition (see \"gn help buildargs\" for more on\n"
" how this all works).\n"
@@ -130,7 +130,7 @@
// Get help on a specific command.
Scope::KeyValueMap::const_iterator found_arg = build_args.find(args[0]);
if (found_arg == build_args.end()) {
- Err(Location(), "Unknown build arg.",
+ Err(Location(), "Unknown build argument.",
"You asked for \"" + args[0] + "\" which I didn't find in any "
"buildfile\nassociated with this build.");
return 1;
« no previous file with comments | « tools/gn/builder.cc ('k') | tools/gn/command_desc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698