Skip to content

Commit 563043d

Browse files
Giuseppe Lumiapolldo
Giuseppe Lumia
authored andcommitted
Fix description of host param on ping command
The host is not required, it defaults to production's mqtt brooker.
1 parent 686d91a commit 563043d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/ping/ping.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func NewCommand() *cobra.Command {
2121
RunE: runPingCommand,
2222
}
2323

24-
pingCommand.Flags().StringVarP(&host, "host", "b", "tcps://mqtts-up.iot.arduino.cc:8884", "Broker endpoint (required)")
24+
pingCommand.Flags().StringVarP(&host, "host", "b", "tcps://mqtts-up.iot.arduino.cc:8884", "Broker endpoint")
2525
pingCommand.Flags().StringVarP(&username, "username", "u", "", "Username (required)")
2626
pingCommand.Flags().StringVarP(&password, "password", "p", "", "Password (required)")
2727
pingCommand.Flags().StringVarP(&thingID, "thing_id", "t", "", "Thing ID (required)")

0 commit comments

Comments
 (0)