conan icon indicating copy to clipboard operation
conan copied to clipboard

[bug] Inconsistency in `conan install` `require` or `requires`

Open rconde01 opened this issue 1 year ago • 1 comments

Describe the bug

The documentation for conan install documents a --requires option. https://docs.conan.io/2/reference/commands/install.html

However, conan graph build-order output "build_args", which is documented to be intended to be used with conan install, will have --require=xyz. They both seem to be accepted by conan install, but i'm not sure why they shouldn't be consistent.

How to reproduce it

No response

rconde01 avatar May 16 '24 22:05 rconde01

Thanks for reporting this @rconde01

It is true that argparse extrapolates, and understand --require as --requires, but it would be better if they match, lets fix it.

memsharded avatar May 17 '24 07:05 memsharded