Skip to content

Commit

Permalink
Merge pull request #8 from ernoaapa/fix-envvar-types
Browse files Browse the repository at this point in the history
Renamed old ELLIOT environment variables
  • Loading branch information
ernoaapa authored Dec 31, 2017
2 parents 68379ff + 1a40155 commit 1a21f11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/eli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a21f11

Please sign in to comment.