New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 845481 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Teach `gn help` to refer to other topics

Project Member Reported by thakis@chromium.org, May 22 2018

Issue description

$ gn help toolchain_args
ERROR No help on "toolchain_args".
Run `gn help` for a list of available topics.


It'd be better if gn were to say `see gn help toolchain`, where toolchain_args is documented.

Ideas:

- Have an explicit list of "keyword", "where to look" pairs and manually curate this index (for things like toolchain_args in toolchain, bundle_partial_info_plist in tool -- but output_extension has its own entry already, etc).

- Have `gn help` look through the contents of each help section, and index all words listed on a line by themselves preceded by two spaces

- your idea here

The second option seems a bit better to me. Opinions?
 
Components: Build
Status: Available (was: Untriaged)
2) seems like a good idea if it can be done relatively easily (which it sounds like it can).
lib_dir_switch, lib_switch should refer to tool

Sign in to add a comment