diff --git a/docs/docs/pyproject.md b/docs/docs/pyproject.md index 76cb2a86868..9ef1f9ecc04 100644 --- a/docs/docs/pyproject.md +++ b/docs/docs/pyproject.md @@ -224,10 +224,10 @@ This section describes the scripts or executables that will be installed when in ```toml [tool.poetry.scripts] -poetry = 'poetry.console:run' +my_package_cli = 'my_package.console:run' ``` -Here, we will have the `poetry` script installed which will execute `console.run` in the `poetry` package. +Here, we will have the `my_package_cli` script installed which will execute `run` in the `console` module in the `my_package` package. !!!note