bazelbuild / bazelbuild/bazel

bazel mod --output values text hint is incorrect

Open Beginner friendly
#29,398 0 comments 0 reactions 0 assignees View on GitHub
P2 team-Documentation team-ExternalDeps team-OSS type: documentation (cleanup)
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Page link:

https://bazel.build/reference/command-line-reference#mod-flag--output

### Problem description (include actual vs expected text, if applicable):

Docs say
> [--output](https://bazel.build/reference/command-line-reference#mod-flag--output)= default: "text"
The format in which the query results should be printed. Allowed values for query are: text, json, graph.

Note that first line has one list, and second line a different list of values. It also mentions `query` which `mod` command doesn't have

But actually supported values are `text, json, graph, streamed_proto or streamed_jsonproto` for `mod` overall, and `'text', 'streamed_jsonproto', and 'streamed_proto'` for show_repo, or `text, json, graph` for graph commands

### Where do you see this issue? (include link to specific section of the page, if applicable)

https://bazel.build/reference/command-line-reference#mod-flag--output

### Any other information you'd like to share?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at the linked command-line-reference section for `mod --output` and compare its wording with the supported values described in the issue. Update the hint so it reflects the overall `mod` values and does not refer to `query`; done means the rendered documentation accurately distinguishes `show_repo` and graph commands.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.