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."; ...@@ -274,7 +274,7 @@ const char kGen_HelpShort[] = "gen: Generate ninja files.";
const char kGen_Help[] = const char kGen_Help[] =
R"(gn gen: Generate ninja files. 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 Generates ninja files from the current tree and puts them in the given output
directory. directory.
...@@ -284,6 +284,9 @@ const char kGen_Help[] = ...@@ -284,6 +284,9 @@ const char kGen_Help[] =
Or it can be a directory relative to the current directory such as: Or it can be a directory relative to the current directory such as:
out/foo 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. See "gn help switches" for the common command-line switches.
IDE options IDE options
...@@ -353,9 +356,10 @@ Eclipse IDE Support ...@@ -353,9 +356,10 @@ Eclipse IDE Support
Generic JSON Output Generic JSON Output
Dumps target information to JSON file and optionally invokes python script on Dumps target information to a JSON file and optionally invokes a
generated file. See comments at the beginning of json_project_writer.cc and python script on the generated file. See the comments at the beginning
desc_builder.cc for overview of JSON file format. of json_project_writer.cc and desc_builder.cc for an overview of the JSON
file format.
--json-file-name=<json_file_name> --json-file-name=<json_file_name>
Overrides default file name (project.json) of generated JSON file. 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