From dcdb1726eca89fbcfc038f2c567c22d1808752b2 Mon Sep 17 00:00:00 2001 From: czoido Date: Fri, 30 Jun 2023 12:06:23 +0200 Subject: [PATCH 1/2] add note --- conan/cli/commands/cache.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conan/cli/commands/cache.py b/conan/cli/commands/cache.py index 582636cf797..4ba59a102a5 100644 --- a/conan/cli/commands/cache.py +++ b/conan/cli/commands/cache.py @@ -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 not specified it shows 'exports' path for recipe references " + "and 'package' folder for package references.") args = parser.parse_args(*args) try: From 1a67484ea69faed864c3dcf0bbb27eab6e977c61 Mon Sep 17 00:00:00 2001 From: czoido Date: Fri, 30 Jun 2023 12:09:01 +0200 Subject: [PATCH 2/2] minor changes --- conan/cli/commands/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conan/cli/commands/cache.py b/conan/cli/commands/cache.py index 4ba59a102a5..0bb0635adfd 100644 --- a/conan/cli/commands/cache.py +++ b/conan/cli/commands/cache.py @@ -23,7 +23,7 @@ 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 for recipe references " + "If the argument is not passed, it shows 'exports' path for recipe references " "and 'package' folder for package references.") args = parser.parse_args(*args)