fix: sync generated hive-forge CLI docs with their clap source strings
Same bug as the swarmctl/hivectl fix, a third instance argus's review didn't name but nix/checks.nix's hive-forge-docs freshness check (same pattern as hivectl-docs/swarmctl-docs) caught in CI: the earlier Contractions/Foreign/Auto batches edited docs/tools/forge-cli.md directly instead of the clap #[arg(...)]/doc-comment strings in hive-forge/src/main.rs and hive-forge/src/verbs/*.rs. Applied the same 13 wording changes to source that the earlier commits already made to the generated .md, matched 1:1 against 'git diff origin/main HEAD -- docs/tools/forge-cli.md' rather than guessed. Several source doc comments feed two rendered sections each (e.g. reaction.rs's one Add-variant doc renders under both 'issue reaction add' and 'pr reaction add', since both subcommands share the same enum) -- one source fix, two generated-doc fixes. Regenerated from the now-fixed source and confirmed byte-identical to what's already committed (diff exit 0) -- source and generated output are back in sync, same as the swarmctl/hivectl fix. cargo clippy -p hive-forge --all-targets -- -D warnings and scripts/check-doc-refs.sh both clean.
This commit is contained in:
parent
bc8f1b3cb8
commit
17554ea563
11 changed files with 13 additions and 13 deletions
|
|
@ -49,7 +49,7 @@ enum Sub {
|
|||
/// Group open issues + PRs by assignee.
|
||||
Assignments(AssignmentsArgs),
|
||||
/// List issues/PRs with no exclusive scoped label in `--scope`
|
||||
/// (e.g. `--scope type` flags items missing any `type/*` label).
|
||||
/// (for example `--scope type` flags items missing any `type/*` label).
|
||||
/// Generic — the scope is whatever the repo's label taxonomy
|
||||
/// actually uses, nothing hardcoded here.
|
||||
Unlabeled(UnlabeledArgs),
|
||||
|
|
@ -139,7 +139,7 @@ struct AssignmentsArgs {
|
|||
#[derive(ClapArgs)]
|
||||
struct UnlabeledArgs {
|
||||
/// Label scope to check for — the part of a scoped label's name
|
||||
/// before the `/` (e.g. `type` for `type/bug`, `type/feature`).
|
||||
/// before the `/` (for example `type` for `type/bug`, `type/feature`).
|
||||
/// Required: this command has no built-in notion of a repo's label
|
||||
/// taxonomy, so there's no sane default to fall back to.
|
||||
#[arg(long)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue