diff --git a/packages/env/README.md b/packages/env/README.md index 64ac3179a3330..61ef9eb03a546 100644 --- a/packages/env/README.md +++ b/packages/env/README.md @@ -315,20 +315,17 @@ Positionals: The run command can be used to open shell sessions or invoke WP-CLI commands. -
-In some cases, `wp-env` may consume options that you are attempting to pass to -the container. This happens with options that `wp-env` has already declared, -such as `--env-cwd`, `--debug`, `--help`, and `--version`. When this happens, you should fall -back to using quotation marks; `wp-env` considers everything inside the +
In some cases, wp-env may consume options that you are attempting to pass to +the container. This happens with options that wp-env has already declared, +such as --env-cwd, --debug, --help, and --version. When this happens, you should fall +back to using quotation marks; wp-env considers everything inside the quotation marks to be command argument. -For example, to ask `WP-CLI` for its help text: - -```sh -wp-env run cli "wp --help" -``` - -Without the quotation marks, `wp-env` will print its own help text instead of +For example, to ask WP-CLI for its help text: +
sh
+wp-env run cli "wp --help"
+ +Without the quotation marks, wp-env will print its own help text instead of passing it to the container. If you experience any problems where the command is not being passed correctly, fall back to using quotation marks.