Skip to content

Commit

Permalink
Guide transition from --dev (#7647)
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann authored Mar 27, 2023
1 parent 9f6f462 commit 2b15ce1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/poetry/console/commands/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ class AddCommand(InstallerCommand, InitCommand):
option(
"dev",
"D",
"Add as a development dependency. (<warning>Deprecated</warning>)",
(
"Add as a development dependency. (<warning>Deprecated</warning>) Use"
" --group=dev instead."
),
),
option("editable", "e", "Add vcs/path dependencies as editable."),
option(
Expand Down
1 change: 1 addition & 0 deletions src/poetry/console/commands/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class RemoveCommand(InstallerCommand):
(
"Remove a package from the development dependencies."
" (<warning>Deprecated</warning>)"
" Use --group=dev instead."
),
),
option(
Expand Down

0 comments on commit 2b15ce1

Please sign in to comment.