diff --git a/poetry/console/commands/install.py b/poetry/console/commands/install.py index 40882394e22..0eca8a9be0c 100644 --- a/poetry/console/commands/install.py +++ b/poetry/console/commands/install.py @@ -107,13 +107,13 @@ def handle(self) -> int: only_groups = [] if self.option("no-dev"): self.line( - "The `--no-dev` option is deprecated," + "The `--no-dev` option is deprecated, " "use the `--without dev` notation instead." ) excluded_groups.append("dev") elif self.option("dev-only"): self.line( - "The `--dev-only` option is deprecated," + "The `--dev-only` option is deprecated, " "use the `--only dev` notation instead." ) only_groups.append("dev") @@ -146,7 +146,7 @@ def handle(self) -> int: with_synchronization = self.option("sync") if self.option("remove-untracked"): self.line( - "The `--remove-untracked` option is deprecated," + "The `--remove-untracked` option is deprecated, " "use the `--sync` option instead." ) diff --git a/poetry/console/commands/show.py b/poetry/console/commands/show.py index 6fb2baa4b24..d4567bc162d 100644 --- a/poetry/console/commands/show.py +++ b/poetry/console/commands/show.py @@ -97,7 +97,7 @@ def handle(self) -> Optional[int]: only_groups = [] if self.option("no-dev"): self.line( - "The `--no-dev` option is deprecated," + "The `--no-dev` option is deprecated, " "use the `--without dev` notation instead." ) excluded_groups.append("dev")