diff --git a/src/poetry/console/commands/install.py b/src/poetry/console/commands/install.py index 8186719cf8d..55037d41d77 100644 --- a/src/poetry/console/commands/install.py +++ b/src/poetry/console/commands/install.py @@ -191,8 +191,8 @@ def handle(self) -> int: "If you do not want to install the current project" " use --no-root.\n" "If you want to use Poetry only for dependency management" - " but not for packaging, you can set the operating mode to " - '"non-package" in your pyproject.toml file.\n' + " but not for packaging, you can disable package mode by setting" + " package-mode = false in your pyproject.toml file.\n" "In a future version of Poetry this warning will become an error!", style="warning", )