@@ -235,8 +235,8 @@ poetry install --no-root
235
235
* ` --dry-run ` : Output the operations but do not execute anything (implicitly enables --verbose).
236
236
* ` --extras (-E) ` : Features to install (multiple values allowed).
237
237
* ` --all-extras ` : Install all extra features (conflicts with --extras).
238
- * ` --no-dev ` : Do not install dev dependencies. (** Deprecated** )
239
- * ` --remove-untracked ` : Remove dependencies not presented in the lock file. (** Deprecated** )
238
+ * ` --no-dev ` : Do not install dev dependencies. (** Deprecated** , use ` --without dev ` or ` --only main ` instead )
239
+ * ` --remove-untracked ` : Remove dependencies not presented in the lock file. (** Deprecated** , use ` --sync ` instead )
240
240
241
241
{{% note %}}
242
242
When ` --only ` is specified, ` --with ` and ` --without ` options are ignored.
@@ -271,7 +271,7 @@ update the constraint, for example `^2.3`. You can do this using the `add` comma
271
271
* ` --with ` : The optional dependency groups to include.
272
272
* ` --only ` : The only dependency groups to include.
273
273
* ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables --verbose).
274
- * ` --no-dev ` : Do not update the development dependencies. (** Deprecated** )
274
+ * ` --no-dev ` : Do not update the development dependencies. (** Deprecated** , use ` --without dev ` or ` --only main ` instead )
275
275
* ` --lock ` : Do not perform install (only update the lockfile).
276
276
277
277
{{% note %}}
@@ -409,7 +409,7 @@ about dependency groups.
409
409
### Options
410
410
411
411
* ` --group (-G) ` : The group to add the dependency to.
412
- * ` --dev (-D) ` : Add package as development dependency. (** Deprecated** )
412
+ * ` --dev (-D) ` : Add package as development dependency. (** Deprecated** , use ` -G dev ` instead )
413
413
* ` --editable (-e) ` : Add vcs/path dependencies as editable.
414
414
* ` --extras (-E) ` : Extras to activate for the dependency. (multiple values allowed)
415
415
* ` --optional ` : Add as an optional dependency.
@@ -442,13 +442,13 @@ about dependency groups.
442
442
### Options
443
443
444
444
* ` --group (-G) ` : The group to remove the dependency from.
445
- * ` --dev (-D) ` : Removes a package from the development dependencies. (** Deprecated** )
445
+ * ` --dev (-D) ` : Removes a package from the development dependencies. (** Deprecated** , use ` -G dev ` instead )
446
446
* ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables --verbose).
447
447
448
448
449
449
## show
450
450
451
- To list all of the available packages, you can use the ` show ` command.
451
+ To list all the available packages, you can use the ` show ` command.
452
452
453
453
``` bash
454
454
poetry show
@@ -478,7 +478,7 @@ required by
478
478
* ` --why ` : When showing the full list, or a ` --tree ` for a single package, display why a package is included.
479
479
* ` --with ` : The optional dependency groups to include.
480
480
* ` --only ` : The only dependency groups to include.
481
- * ` --no-dev ` : Do not list the dev dependencies. (** Deprecated** )
481
+ * ` --no-dev ` : Do not list the dev dependencies. (** Deprecated** , use ` --without dev ` or ` --only main ` instead )
482
482
* ` --tree ` : List the dependencies as a tree.
483
483
* ` --latest (-l) ` : Show the latest version.
484
484
* ` --outdated (-o) ` : Show the latest version but only for packages that are outdated.
@@ -689,7 +689,7 @@ group defined in `tool.poetry.dependencies` when used without specifying any opt
689
689
Currently, only ` requirements.txt ` is supported.
690
690
* ` --output (-o) ` : The name of the output file. If omitted, print to standard
691
691
output.
692
- * ` --dev ` : Include development dependencies. (** Deprecated** )
692
+ * ` --dev ` : Include development dependencies. (** Deprecated** , use ` --with dev ` instead )
693
693
* ` --extras (-E) ` : Extra sets of dependencies to include.
694
694
* ` --without ` : The dependency groups to ignore.
695
695
* ` --with ` : The optional dependency groups to include.
0 commit comments