diff --git a/doc/api/cli.md b/doc/api/cli.md index efd9e54801623f..cc83fc3d58ad6b 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2049,7 +2049,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.