Skip to content

Commit b4a90ae

Browse files
Regenerate command pages for v1.0.0
1 parent 4074618 commit b4a90ae

File tree

181 files changed

+679
-367
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+679
-367
lines changed

_includes/global-parameters.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ <h3>Global Parameters</h3>
2424
Whether to colorize the output.</p>
2525
<p><code>--debug[=&lt;group&gt;]</code>
2626
Show all PHP errors; add verbosity to WP-CLI bootstrap.</p>
27-
<p><code>--prompt</code>
28-
Prompt the user to enter values for all command arguments.</p>
27+
<p><code>--prompt[=&lt;assoc&gt;]</code>
28+
Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.</p>
2929
<p><code>--quiet</code>
3030
Suppress informational messages.</p>
3131

_includes/param-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@
156156
</tr>
157157
<tr>
158158
<td>
159-
Prompt the user to enter values for all command arguments.
159+
Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.
160160
<br />
161161
Default value: <code>false</code>
162162
</td>
163163
<td>
164-
<code class="flag">--prompt</code>
164+
<code class="flag">--prompt[=&lt;assoc&gt;]</code>
165165
</td>
166166
<td>
167167
<em>Not available as an option</em>

commands/cache/add/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ display_global_parameters: true
1212

1313
<hr />
1414

15-
If a value already exists for the key, the value isn't added.
15+
Errors if a value already exists for the key, which means the value can't
16+
be added.
1617

1718
### OPTIONS
1819

commands/cache/decr/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ display_global_parameters: true
1212

1313
<hr />
1414

15+
Errors if the value can't be decremented.
16+
1517
### OPTIONS
1618

1719
&lt;key&gt;

commands/cache/delete/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ display_global_parameters: true
1212

1313
<hr />
1414

15+
Errors if the value can't be deleted.
16+
1517
### OPTIONS
1618

1719
&lt;key&gt;

commands/cache/flush/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ display_global_parameters: true
1212

1313
<hr />
1414

15-
For sites using a persistent object cache, because WordPress Multisite simply adds a blog id
16-
to the cache key, flushing cache is typically a global operation.
15+
For WordPress multisite instances using a persistent object cache,
16+
flushing the object cache will typically flush the cache for all sites.
17+
Beware of the performance impact when flushing the object cache in
18+
production.
19+
20+
Errors if the object cache can't be flushed.
1721

1822
### EXAMPLES
1923

commands/cache/get/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ display_global_parameters: true
1212

1313
<hr />
1414

15+
Errors if the value doesn't exist.
16+
1517
### OPTIONS
1618

1719
&lt;key&gt;

commands/cache/incr/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ display_global_parameters: true
1212

1313
<hr />
1414

15+
Errors if the value can't be incremented.
16+
1517
### OPTIONS
1618

1719
&lt;key&gt;

commands/cache/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ display_global_parameters: true
1212

1313
<hr />
1414

15-
Note: Persistent Object Caching is needed for these commands.
15+
Use a persistent object cache drop-in to persist cache values between requests.
1616

1717
### EXAMPLES
1818

commands/cache/replace/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ display_global_parameters: true
1212

1313
<hr />
1414

15+
Errors if the value can't be replaced.
16+
1517
### OPTIONS
1618

1719
&lt;key&gt;

0 commit comments

Comments
 (0)