Environment details
- Operating System+version: Ubuntu 22.04
- Compiler+version: N/A
- Conan version: 2.1.0
- Python version: 3.10.8
Steps to reproduce
conan lock create -r myremote -u path/to/conanfile
- Conan returns:
ERROR: Please specify a path to a conanfile or a '--requires=<ref>'
This doesn't happen if I don't have -u in the command. It also doesn't happen if I put the path first:
conan lock create path/to/conanfile -r myremote -u
This may apply to all commands. I saw it specifically with conan lock create, but after checking, I saw it happen with conan create as well.
Logs
No response