docs icon indicating copy to clipboard operation
docs copied to clipboard

2.0 migration tutorial should mention removal of --json argument from commands

Open Artalus opened this issue 2 years ago • 1 comments

In 1.X I used to use --json path/to/file.json with commands like conan create. With 2.0 I suppose I am expected to use --format json and redirect stdout to a file? So conan create --json x.json would turn into conan create -f json > x.json. If that is the case, I believe it should be mentioned in Conan migration guide to 2.0 » Commands.

Artalus avatar May 23 '23 10:05 Artalus

Hi @Artalus, Thanks for reporting, I also think that this should be documented better. I'm marking this to be solved soon.

czoido avatar May 23 '23 10:05 czoido