Skip to content

Commit 2b15ce1

Browse files
Guide transition from --dev (#7647)
1 parent 9f6f462 commit 2b15ce1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/poetry/console/commands/add.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ class AddCommand(InstallerCommand, InitCommand):
3030
option(
3131
"dev",
3232
"D",
33-
"Add as a development dependency. (<warning>Deprecated</warning>)",
33+
(
34+
"Add as a development dependency. (<warning>Deprecated</warning>) Use"
35+
" --group=dev instead."
36+
),
3437
),
3538
option("editable", "e", "Add vcs/path dependencies as editable."),
3639
option(

src/poetry/console/commands/remove.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class RemoveCommand(InstallerCommand):
2424
(
2525
"Remove a package from the development dependencies."
2626
" (<warning>Deprecated</warning>)"
27+
" Use --group=dev instead."
2728
),
2829
),
2930
option(

0 commit comments

Comments
 (0)