It should be `--directory` (or maybe `--output-dir`), which is how it is treated by the implementation. We should probably add the new option and deprecate `--project`.