Skip to content

Commit

Permalink
Correct conan build path arg description
Browse files Browse the repository at this point in the history
Change conan build argument description for "path" to indicate it is
only for conanfile.py and explicitly state that it does not work with
conanfile.txt.

Resolves conan-io#13198
  • Loading branch information
kammce committed Feb 23, 2023
1 parent e4ad406 commit c91dcab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conan/cli/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def build(conan_api, parser, *args):
Install dependencies and call the build() method.
"""
parser.add_argument("path", nargs="?",
help="Path to a folder containing a recipe (conanfile.py "
"or conanfile.txt) or to a recipe file. e.g., "
"./my_project/conanfile.txt.")
help='Path to a python-based recipe file or a folder '
'containing a conanfile.py recipe. conanfile.txt '
'cannot be used with conan build.')
add_reference_args(parser)
# TODO: Missing --build-require argument and management
parser.add_argument("-of", "--output-folder",
Expand Down

0 comments on commit c91dcab

Please sign in to comment.