Skip to content

bug: --version shows rtk 0.39.0 instead of contextcrawler 0.39.0 (incomplete rebrand) #22

Closed

Description

@thehoff

Summary

contextcrawler --version prints rtk 0.39.0. Should print contextcrawler 0.39.0 to match the binary name and downstream rebrand.

Root cause

src/main.rs:54 hardcodes name = "rtk" in the clap derive:

#[command(name = "rtk", version, about = "...")]

The package name in Cargo.toml is correctly contextcrawler — but the clap name attribute overrides it for --version / --help output.

Fix

Remove the name = "rtk" attribute (clap will then default to the package name) OR change it to name = "contextcrawler". Single-line edit.

Test plan

  • contextcrawler --version prints contextcrawler 0.39.0
  • cargo test --bin contextcrawler passes (no test relies on the literal "rtk" version string — verified by grep)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions