diff --git a/doc/api/cli.md b/doc/api/cli.md index df381f80c51ea7..d00491efe74bd8 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2017,7 +2017,7 @@ changes: > Stability: 1.2 - Release candidate This runs a specified command from a package.json's `"scripts"` object. -If no `"command"` is provided, it will list the available scripts. +If a missing `"command"` is provided, it will list the available scripts. `--run` will traverse up to the root directory and finds a `package.json` file to run the command from.