From 1a40155c92d1c9ff7b8661097eab282437a4f5bc Mon Sep 17 00:00:00 2001 From: Erno Aapa Date: Tue, 26 Dec 2017 13:38:40 +0200 Subject: [PATCH] Renamed old ELLIOT environment variables --- cmd/eli/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/eli/main.go b/cmd/eli/main.go index 8f67e9e6..aa916dc9 100644 --- a/cmd/eli/main.go +++ b/cmd/eli/main.go @@ -33,23 +33,23 @@ func main() { cli.StringFlag{ Name: "config, c", Usage: "Client configuration", - EnvVar: "ELLIOT_CONFIG", + EnvVar: "ELIOT_CONFIG", Value: "~/.eli/config", }, cli.StringFlag{ Name: "namespace", Usage: "Namespace to use with commands. By default reads from config.", - EnvVar: "ELLIOT_NAMESPACE", + EnvVar: "ELIOT_NAMESPACE", }, cli.StringFlag{ Name: "endpoint", Usage: "Use specific device endpoint. E.g. '192.168.1.101:5000'", - EnvVar: "ELLIOT_ENDPOINT", + EnvVar: "ELIOT_ENDPOINT", }, cli.StringFlag{ Name: "device", Usage: "Use specific device by name. E.g. 'somehost.local'", - EnvVar: "ELLIOT_DEVICE", + EnvVar: "ELIOT_DEVICE", }, }, cmd.GlobalFlags...) app.Version = version.VERSION