Skip to content

fix(cli): correct --prom-port help text - #452

Open
devorun wants to merge 1 commit into
SeismicSystems:mainfrom
devorun:fix/prom-port-help
Open

devorun wants to merge 1 commit into
SeismicSystems:mainfrom
devorun:fix/prom-port-help

Conversation

@devorun

@devorun devorun commented Aug 11, 2026

Copy link
Copy Markdown

--prom-port (default 9090, paired with --prom-ip "Prometheus address") sets the port for the Prometheus metrics endpoint, but its help string was copied from --port and reads "Port Consensus runs on".

As a result summit run --help labels both --port and --prom-port identically, describing the metrics port as the consensus port. This corrects the --prom-port description to the flag it actually configures. --port is left unchanged.

Doc-comment only; no behavior change.

The --prom-port help was copied from --port and read "Port Consensus
runs on", so `summit run --help` described the Prometheus metrics port
(default 9090, paired with --prom-ip) as the consensus port. Describe
the flag it actually configures.
@devorun

devorun commented Sep 9, 2026

Copy link
Copy Markdown
Author

Gentle follow-up on this one. I've rebased it onto current main, so it's up to date and conflict-free.

It's a one-line help-text fix: --prom-port currently shows "Port Consensus runs on" (copied from --port), while it actually sets the Prometheus metrics port (default 9090, paired with --prom-ip), so summit run --help labels both flags identically. --port is left untouched.

@matthias-wright would you mind taking a quick look when you have a moment? Happy to adjust the wording if you'd prefer something else. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants