Skip to content

Commit 800e79d

Browse files
authored
Merge pull request #365 from wp-cli/feature/update-environment-variables
2 parents 77526ee + 4fca0f0 commit 800e79d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎config.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ WP-CLI's behavior can be changed at runtime through the use of environment varia
306306
* `WP_CLI_PHP_ARGS` - Arguments to pass to the PHP binary when invoking WP-CLI (only works for non-Phar installation).
307307
* `WP_CLI_SSH_PRE_CMD` - When using `--ssh=<ssh>`, perform a command before WP-CLI calls WP-CLI on the remote server.
308308
* `WP_CLI_STRICT_ARGS_MODE` - Avoid ambiguity by telling WP-CLI to treat any arguments before the command as global, and after the command as local.
309+
* `WP_CLI_SUPPRESS_GLOBAL_PARAMS` - Set to `true` to skip showing the global parameters at the end of the help screen. This saves screen estate for advanced users.
309310

310311
To set an environment variable on demand, simply place the environment variable definition before the WP-CLI command you mean to run.
311312

0 commit comments

Comments
 (0)