Commit 25e10941 authored by thakis's avatar thakis Committed by Commit bot

gn: Document gen's --check flag.

BUG=698539

Review-Url: https://codereview.chromium.org/2872453003
Cr-Commit-Position: refs/heads/master@{#470042}
parent 6bc1dc01
......@@ -274,7 +274,7 @@ const char kGen_HelpShort[] = "gen: Generate ninja files.";
const char kGen_Help[] =
R"(gn gen: Generate ninja files.
gn gen [<ide options>] <out_dir>
gn gen [--check] [<ide options>] <out_dir>
Generates ninja files from the current tree and puts them in the given output
directory.
......@@ -284,6 +284,9 @@ const char kGen_Help[] =
Or it can be a directory relative to the current directory such as:
out/foo
"gn gen --check" is the same as running "gn check". See "gn help check"
for documentation on that mode.
See "gn help switches" for the common command-line switches.
IDE options
......@@ -353,9 +356,10 @@ Eclipse IDE Support
Generic JSON Output
Dumps target information to JSON file and optionally invokes python script on
generated file. See comments at the beginning of json_project_writer.cc and
desc_builder.cc for overview of JSON file format.
Dumps target information to a JSON file and optionally invokes a
python script on the generated file. See the comments at the beginning
of json_project_writer.cc and desc_builder.cc for an overview of the JSON
file format.
--json-file-name=<json_file_name>
Overrides default file name (project.json) of generated JSON file.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment