From 19b862bc99ed45f0ab34c1bd8991524f4198ad14 Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Mon, 15 Nov 2021 15:54:50 +0700 Subject: [PATCH] Replace nse prefix for config to nsm Signed-off-by: Artem Glazychev --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 2b25951..5f72904 100644 --- a/main.go +++ b/main.go @@ -74,10 +74,10 @@ type Config struct { // Process prints and processes env to config func (c *Config) Process() error { - if err := envconfig.Usage("nse", c); err != nil { + if err := envconfig.Usage("nsm", c); err != nil { return errors.Wrap(err, "cannot show usage of envconfig nse") } - if err := envconfig.Process("nse", c); err != nil { + if err := envconfig.Process("nsm", c); err != nil { return errors.Wrap(err, "cannot process envconfig nse") } return nil