Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

docs(cli): -t/--type help never names the semantic filters

Open Beginner friendly
#1,485 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Locate the /// doc comment for the -t/--type argument in big-code-analysis-cli/src/cli_args/, add a sentence listing the six semantic filters (all, function, call, comment, string, error) and reference the book section at commands/nodes.md#semantic-filters. Run cargo xtask to regenerate the man/ pages, then run make check-manpage-drift to confirm no drift. Done when the CLI help text includes the semantic filters and the man pages are updated with no drift.

Written by the indexing model from the issue text.

Description

cli documentation

Summary

The clap help for -t/--type on bca find and bca count reads
"Node-type name to match" and never mentions the six semantic filters
(all, function, call, comment, string, error) that the
option also accepts and that take precedence over an identically named
node type. Found in #1456, which defined them in the book
(commands/nodes.md#semantic-filters) but left the CLI text alone.

Fix

One or two sentences on the /// doc of the -t/--type argument in
big-code-analysis-cli/src/cli_args/, pointing at the book section.
Any edit to a clap /// must be followed by cargo xtask with the
regenerated man/ pages in the same commit
(make check-manpage-drift), and the text must carry no issue
reference (help_text_carries_no_issue_references pins this).

Related

  • #1456
Dominant language
Rust
Stars
32
Forks
3
Avg merge
2d 9h
Merged PRs (30d)
49

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dekobon/big-code-analysis

All issues in dekobon/big-code-analysis

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.