diff --git a/src/poetry/console/commands/add.py b/src/poetry/console/commands/add.py index e02af59caa0..a5fcbc7a2ca 100644 --- a/src/poetry/console/commands/add.py +++ b/src/poetry/console/commands/add.py @@ -79,6 +79,8 @@ class AddCommand(InstallerCommand, InitCommand): - A git url (git+https://github.com/python-poetry/poetry.git) - A git url with a revision\ (git+https://github.com/python-poetry/poetry.git#develop) + - A subdirectory of a git repository\ + (git+https://github.com/python-poetry/poetry.git#subdirectory=tests/fixtures/sample_project) - A git SSH url (git+ssh://github.com/python-poetry/poetry.git) - A git SSH url with a revision\ (git+ssh://github.com/python-poetry/poetry.git#develop)