From 6fd7fda449fe0cfcd57b03c744ca42fe4325a38f Mon Sep 17 00:00:00 2001 From: Matt G Date: Mon, 29 Nov 2021 16:20:43 +0000 Subject: [PATCH] Update docs/cli.md Co-authored-by: Bjorn Neergaard --- docs/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli.md b/docs/cli.md index dbc462155ae..d5d45cdd9ce 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -363,7 +363,7 @@ poetry add "git+https://github.com/pallets/flask.git@1.1.1[dotenv,dev]" ``` {{% warning %}} -Be aware that some shells (in particular Mac Zsh) may not recognise the package name without quotes - for example `poetry add requests[security,socks]`. In this case try instead with quotes `poetry add "requests[security,socks]"` +Some shells may treat square braces (`[` and `]`) as special characters. It is suggested to always quote arguments containing these characters to prevent unexpected shell expansion. {{% /warning %}} If you want to add a package to a specific group of dependencies, you can use the `--group (-G)` option: