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
efbb5ceb
Unverified
Commit
efbb5ceb
authored
May 21, 2022
by
Tom Solberg
Committed by
GitHub
May 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: clarify`--why` command
parent
a80f9850
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
docs/cli.md
+2
-1
src/poetry/console/commands/show.py
+2
-1
No files found.
docs/cli.md
View file @
efbb5ceb
...
...
@@ -444,7 +444,7 @@ required by
### Options
*
`--without`
: The dependency groups to ignore.
*
`--why`
:
Include reverse dependencies where applicable
.
*
`--why`
:
When showing the full list, or a
`--tree`
for a single package, display why a package is included
.
*
`--with`
: The optional dependency groups to include.
*
`--only`
: The only dependency groups to include.
*
`--default`
: Only include the main dependencies. (
**Deprecated**
)
...
...
@@ -457,6 +457,7 @@ required by
When
`--only`
is specified,
`--with`
and
`--without`
options are ignored.
{{% /note %}}
## build
The
`build`
command builds the source and wheels archives.
...
...
src/poetry/console/commands/show.py
View file @
efbb5ceb
...
...
@@ -50,7 +50,8 @@ class ShowCommand(GroupCommand):
option
(
"why"
,
None
,
"When listing the tree for a single package, start from parents."
,
"When showing the full list, or a <info>--tree</info> for a single package,"
" also display why it's included."
,
),
option
(
"latest"
,
"l"
,
"Show the latest version."
),
option
(
...
...
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