hive-forge: fix stale ci-rerun CLI variant doc

The clap subcommand doc in main.rs still described the old web-route
implementation (--job, 'POSTs the rerun web action'), which surfaces in
hive-forge --help. Update it to match the workflow-dispatch rework.
This commit is contained in:
atlas 2026-06-23 12:01:05 +02:00 committed by mara
commit abd70531d5

View file

@ -165,9 +165,10 @@ enum Verb {
/// [--step i]`). Uses Forgejo's web run-view streamer (no REST
/// endpoint exists); reliable for live + recently-finished runs.
CiLog(verbs::ci_log::Args),
/// Re-run a CI Actions run without an empty commit (`--run <n>
/// [--job i]`, or `--pr <n>` to resolve the head run). POSTs the
/// rerun web action; re-runs all jobs unless `--job` is given.
/// Re-run CI without an empty commit: dispatches a fresh run via the
/// workflow-dispatch API. Pass one of `--pr <n>` (the PR head branch),
/// `--run <n>` (branch + workflow resolved from that run), or
/// `--branch <name>`; `--workflow <file>` defaults to `ci.yml`.
CiRerun(verbs::ci_rerun::Args),
}