Skip to content

Commit db340b1

Browse files
committed
Rename 'user' custom field to 'field'
1 parent 5bdfe30 commit db340b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RFCs/0002-pluggable-discovery.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ tools.arduino_ota.upload.pattern="{runtime.tools.arduinoOTA.path}/bin/arduinoOTA
547547

548548
#### User provided fields
549549

550-
The recipe may require some user-entered fields (like username or password). In this case the recipe must use the special placeholder `{upload.user.FIELD_NAME}` where `FIELD_NAME` must be declared separately in the recipe using the following format:
550+
The recipe may require some user-entered fields (like username or password). In this case the recipe must use the special placeholder `{upload.field.FIELD_NAME}` where `FIELD_NAME` must be declared separately in the recipe using the following format:
551551

552552
```
553553
tools.UPLOAD_RECIPE_ID.upload.field.FIELD_NAME=FIELD_LABEL
@@ -564,8 +564,8 @@ tools.arduino_ota.upload.field.password=Password
564564
tools.arduino_ota.upload.field.password.secret=true
565565
tools.arduino_ota.upload.pattern="{runtime.tools.arduinoOTA.path}/bin/arduinoOTA"
566566
-address {upload.port.address} -port 65280
567-
-username "{upload.user.username}
568-
-password "{upload.user.password}"
567+
-username "{upload.field.username}
568+
-password "{upload.field.password}"
569569
-sketch "{build.path}/{build.project_name}.bin"
570570
```
571571

0 commit comments

Comments
 (0)