Skip to content

Commit 82ada8b

Browse files
committed
update from suggestion
1 parent b32d071 commit 82ada8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/poetry/console/commands/show.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ def handle(self) -> int | None:
9292

9393
if not self.option("tree") and package:
9494
self.line_error(
95-
"<error>Error: --why cannot be used when displaying a single"
96-
" package.</error>"
95+
"<error>Error: --why cannot be used without --tree when displaying"
96+
" a single package.</error>"
9797
)
9898

9999
return 1

0 commit comments

Comments
 (0)