Skip to content

Commit 697fd03

Browse files
authored
Fix field property updates (#16)
1 parent 6b06ea0 commit 697fd03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/class-gf-cli-form-field.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function field_list( $args, $assoc_args ) {
228228
* <field-id>
229229
* : The field ID
230230
*
231-
* [--<property>=<value>]
231+
* [--<field>=<value>]
232232
* : The field properties to update
233233
*
234234
* [--field-json=<field-json>]
@@ -238,7 +238,7 @@ public function field_list( $args, $assoc_args ) {
238238
*
239239
* wp gf update 1 2 --type='text' --label='My Field'
240240
*
241-
* @synopsis <form-id> <field-id> [--<property>=<value>] [--field-json=<field-json>]
241+
* @synopsis <form-id> <field-id> [--<field>=<value>] [--field-json=<field-json>]
242242
*/
243243
public function update( $args, $assoc_args ) {
244244

0 commit comments

Comments
 (0)