From 19606abc04b9651fefc0228510ae0c18414ba7ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ecl=C3=A9sio=20Junior?= Date: Mon, 5 Jun 2023 11:31:25 -0400 Subject: [PATCH] chore: update error message change `--metrics-address` to `--prometheus-port` --- cmd/gossamer/commands/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gossamer/commands/root.go b/cmd/gossamer/commands/root.go index 7ec1dd37a4..5f0b1b3b4d 100644 --- a/cmd/gossamer/commands/root.go +++ b/cmd/gossamer/commands/root.go @@ -224,7 +224,7 @@ func addBaseConfigFlags(cmd *cobra.Command) error { config.BaseConfig.PrometheusPort, "Listen address of the prometheus server", "prometheus-port"); err != nil { - return fmt.Errorf("failed to add --metrics-address flag: %s", err) + return fmt.Errorf("failed to add --prometheus-port flag: %s", err) } if err := addUint32FlagBindViper(cmd, "retain-blocks",