1
0
mirror of https://github.com/shirou/mqttcli.git synced 2025-04-26 13:49:17 +08:00

Setting default for host to localhost

This commit is contained in:
Sabith Karippullil Soopy 2018-07-08 08:58:52 -07:00 committed by GitHub
parent 71d5437e58
commit ab28b9f3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ func main() {
commonFlags := []cli.Flag{
cli.StringFlag{
Name: "host",
Value: "",
Value: "localhost",
Usage: "mqtt host to connect to. Defaults to localhost",
EnvVar: "MQTT_HOST"},
cli.IntFlag{