Skip to content

Commit f6b2b10

Browse files
authored
Merge pull request #18 from grappler/patch-1
Add missing entry subcommand in inline documentation
2 parents 259d489 + f25d099 commit f6b2b10

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

includes/class-gf-cli-entry.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ public function get( $args, $assoc_args ) {
125125
*
126126
* ## EXAMPLES
127127
*
128-
* wp gf delete 1
129-
* wp gf delete 1 3 7 10
130-
* wp gf delete 1 --force
131-
* wp gf delete $(wp gf entry list 1 --status=trash --format=ids )
128+
* wp gf entry delete 1
129+
* wp gf entry delete 1 3 7 10
130+
* wp gf entry delete 1 --force
131+
* wp gf entry delete $(wp gf entry list 1 --status=trash --format=ids ) --force
132132
*
133133
* @synopsis <entry-id>... [--force]
134134
*/
@@ -198,7 +198,7 @@ public function delete( $args, $assoc_args ) {
198198
* ## EXAMPLES
199199
*
200200
* wp gf entry create 1 --field_1=ABC [email protected] --field_3=1234 --field_4=Hello --field_5.3=John --field_5.6=Doe
201-
* wp gf entry create $(wp entry get 3 --raw --format=json)
201+
* wp gf entry create $(wp gf entry get 3 --raw --format=json)
202202
* @synopsis [<entry-json>] [<form-id>] [--<field>=<value>]
203203
*/
204204
public function create( $args, $assoc_args ) {

0 commit comments

Comments
 (0)