diff --git a/doc/api/cli.md b/doc/api/cli.md index 8adb33efb7b06e..3f5441b82e7ce8 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -52,6 +52,17 @@ If this flag is passed, the behavior can still be set to not abort through [`process.setUncaughtExceptionCaptureCallback()`][] (and through usage of the `domain` module that uses it). +### `--completion-bash` + + +Print source-able bash completion script for Node.js. +```console +$ node --completion-bash > node_bash_completion +$ source node_bash_completion +``` + ### `--enable-fips`