From 2b15ce10f02b0c6347fe2f12ae902488edeaaf7c Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Mon, 27 Mar 2023 16:20:47 +0100 Subject: [PATCH] Guide transition from --dev (#7647) --- src/poetry/console/commands/add.py | 5 ++++- src/poetry/console/commands/remove.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/poetry/console/commands/add.py b/src/poetry/console/commands/add.py index 05bdc21bf77..451965cd431 100644 --- a/src/poetry/console/commands/add.py +++ b/src/poetry/console/commands/add.py @@ -30,7 +30,10 @@ class AddCommand(InstallerCommand, InitCommand): option( "dev", "D", - "Add as a development dependency. (Deprecated)", + ( + "Add as a development dependency. (Deprecated) Use" + " --group=dev instead." + ), ), option("editable", "e", "Add vcs/path dependencies as editable."), option( diff --git a/src/poetry/console/commands/remove.py b/src/poetry/console/commands/remove.py index 88ea83880af..0eba3907b38 100644 --- a/src/poetry/console/commands/remove.py +++ b/src/poetry/console/commands/remove.py @@ -24,6 +24,7 @@ class RemoveCommand(InstallerCommand): ( "Remove a package from the development dependencies." " (Deprecated)" + " Use --group=dev instead." ), ), option(