Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
d1786b89
Unverified
Commit
d1786b89
authored
Jun 20, 2020
by
dgnsrekt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes add and init command --help documentation.
parent
667d87dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
poetry/console/commands/add.py
+1
-1
poetry/console/commands/init.py
+1
-1
No files found.
poetry/console/commands/add.py
View file @
d1786b89
...
@@ -45,7 +45,7 @@ class AddCommand(EnvCommand, InitCommand):
...
@@ -45,7 +45,7 @@ class AddCommand(EnvCommand, InitCommand):
"If you do not specify a version constraint, poetry will choose a suitable one based on the available package versions.
\n\n
"
"If you do not specify a version constraint, poetry will choose a suitable one based on the available package versions.
\n\n
"
"You can specify a package in the following forms:
\n
"
"You can specify a package in the following forms:
\n
"
" - A single name (<b>requests</b>)
\n
"
" - A single name (<b>requests</b>)
\n
"
" - A name and a constraint (<b>requests
^2.23.0</b>)
\n
"
" - A name and a constraint (<b>requests
@
^2.23.0</b>)
\n
"
" - A git url (<b>git+https://github.com/python-poetry/poetry.git</b>)
\n
"
" - A git url (<b>git+https://github.com/python-poetry/poetry.git</b>)
\n
"
" - A git url with a revision (<b>git+https://github.com/python-poetry/poetry.git#develop</b>)
\n
"
" - A git url with a revision (<b>git+https://github.com/python-poetry/poetry.git#develop</b>)
\n
"
" - A file path (<b>../my-package/my-package.whl</b>)
\n
"
" - A file path (<b>../my-package/my-package.whl</b>)
\n
"
...
...
poetry/console/commands/init.py
View file @
d1786b89
...
@@ -146,7 +146,7 @@ The <c1>init</c1> command creates a basic <comment>pyproject.toml</> file in the
...
@@ -146,7 +146,7 @@ The <c1>init</c1> command creates a basic <comment>pyproject.toml</> file in the
help_message
=
(
help_message
=
(
"You can specify a package in the following forms:
\n
"
"You can specify a package in the following forms:
\n
"
" - A single name (<b>requests</b>)
\n
"
" - A single name (<b>requests</b>)
\n
"
" - A name and a constraint (<b>requests
^2.23.0</b>)
\n
"
" - A name and a constraint (<b>requests
@
^2.23.0</b>)
\n
"
" - A git url (<b>git+https://github.com/python-poetry/poetry.git</b>)
\n
"
" - A git url (<b>git+https://github.com/python-poetry/poetry.git</b>)
\n
"
" - A git url with a revision (<b>git+https://github.com/python-poetry/poetry.git#develop</b>)
\n
"
" - A git url with a revision (<b>git+https://github.com/python-poetry/poetry.git#develop</b>)
\n
"
" - A file path (<b>../my-package/my-package.whl</b>)
\n
"
" - A file path (<b>../my-package/my-package.whl</b>)
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment