Skip to content

Commit 621e341

Browse files
committed
reconfigured
1 parent b86e209 commit 621e341

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli/template/apply.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ func initTemplateApplyCommand() *cobra.Command {
5454
applyCommand.Flags().StringVarP(&flags.templateId, "template-id", "t", "", "Template ID")
5555
applyCommand.Flags().StringVarP(&flags.templatePrefix, "prefix", "p", "", "Prefix to apply to the name of created resources")
5656
applyCommand.Flags().StringVarP(&flags.deviceId, "device-id", "d", "", "Device ID")
57-
applyCommand.Flags().StringVarP(&flags.netCredentials, "network-credentials", "n", "", "Network credentials")
58-
applyCommand.Flags().BoolVarP(&flags.applyOta, "apply-ota", "o", false, "start ota with binary contained into template")
57+
applyCommand.Flags().StringVarP(&flags.netCredentials, "network-credentials", "n", "", "Network credentials used to configure device (e.g. WiFi credentials). Supported values: SECRET_SSID | SECRET_OPTIONAL_PASS | SECRET_DEVICE_KEY")
5958

6059
applyCommand.MarkFlagRequired("template-id")
6160
applyCommand.MarkFlagRequired("prefix")
6261
applyCommand.MarkFlagRequired("device-id")
6362

63+
flags.applyOta = false
64+
6465
return applyCommand
6566
}
6667

0 commit comments

Comments
 (0)