We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de05c34 commit d45749dCopy full SHA for d45749d
iot/api-client/mqtt_example/cloudiot_mqtt_example.py
@@ -119,7 +119,6 @@ def parse_command_line_args():
119
'--message_type',
120
choices=('event', 'state'),
121
default='event',
122
- required=True,
123
help=('Indicates whether the message to be published is a '
124
'telemetry event or a device state message.'))
125
parser.add_argument(
@@ -128,6 +127,7 @@ def parse_command_line_args():
128
127
help='MQTT bridge hostname.')
129
130
'--mqtt_bridge_port',
+ choices=(8883, 443),
131
default=8883,
132
type=int,
133
help='MQTT bridge port.')
0 commit comments