diff --git a/config.md b/config.md index ff518cd5..a09d1f39 100644 --- a/config.md +++ b/config.md @@ -372,6 +372,7 @@ WP-CLI's behavior can be changed at runtime through the use of environment varia * `WP_CLI_PHP` - PHP binary path to use when overriding the system default (only works for non-Phar installation). * `WP_CLI_PHP_ARGS` - Arguments to pass to the PHP binary when invoking WP-CLI (only works for non-Phar installation). * `WP_CLI_SSH_PRE_CMD` - When using `--ssh=`, perform a command before WP-CLI calls WP-CLI on the remote server. +* `WP_CLI_SSH_BINARY` - When using `--ssh=`, this is the command that will be called on the remote machine in place of `wp`. * `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. * `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. * `WP_CLI_FORCE_USER_LOGIN` - Set to `1` to force the value provided to the `--user` flag to be interpreted as a login instead of an ID, to get around ambiguous types. diff --git a/troubleshooting.md b/troubleshooting.md index da57a9aa..7cbbe9f8 100644 --- a/troubleshooting.md +++ b/troubleshooting.md @@ -39,6 +39,7 @@ If you want to run WP-CLI remotely using SSH, it is required that the command `w * `WP_CLI_PHP` - PHP binary path to use when overriding the system default (only works for non-Phar installation). * `WP_CLI_PHP_ARGS` - Arguments to pass to the PHP binary when invoking WP-CLI (only works for non-Phar installation). * `WP_CLI_SSH_PRE_CMD` - When using `--ssh=`, perform a command before WP-CLI calls WP-CLI on the remote server. +* `WP_CLI_SSH_BINARY` - When using `--ssh=`, this is the command that will be called on the remote machine in place of `wp`. * `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. * `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. * `WP_CLI_FORCE_USER_LOGIN` - Set to `1` to force the value provided to the `--user` flag to be interpreted as a login instead of an ID, to get around ambiguous types.