Skip to content

Commit

Permalink
Clarification in the help of conan cache path for package references (#…
Browse files Browse the repository at this point in the history
…14199)

Changelog: Fix: Add clarification for the default folder shown when
querying a package reference.
Docs: TODO

Closes: #14198
  • Loading branch information
AbrilRBS authored Jul 2, 2023
2 parents 470c8ee + 1a67484 commit ae001d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conan/cli/commands/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ def cache_path(conan_api: ConanAPI, parser, subparser, *args):
"""
subparser.add_argument("reference", help="Recipe reference or Package reference")
subparser.add_argument("--folder", choices=['export_source', 'source', 'build', 'metadata'],
help="Path to show. The 'build'"
" requires a package reference. If not specified it shows 'exports'"
" path ")
help="Path to show. The 'build' requires a package reference. "
"If the argument is not passed, it shows 'exports' path for recipe references "
"and 'package' folder for package references.")

args = parser.parse_args(*args)
try:
Expand Down

0 comments on commit ae001d3

Please sign in to comment.