sapcc / mosquitto-exporter

Prometheus metrics exporter for the Mosquitto message broker
Apache License 2.0
128 stars 60 forks source link

Error display does not show the right option #48

Open disk91 opened 1 year ago

disk91 commented 1 year ago

When you pass --endpoint, you get

Incorrect Usage. flag provided but not defined: -endpoint tcp://mosquitto:1883

Only -endpoint is written instead of --endpoint This is taking time to understand that the problem is not the you pass the option but potentially the parameter after it.

the error message is also not clear about the problem to solve.