pip-compile 如何管理其输入和输出文件?

How does pip-compile manage its input and output files?

像这样调用 pip-compile 时:

pip-compile -i https://pypi.our-company.com/ 
      --no-emit-trusted-host --no-emit-find-links
       requirements/requirements.in.txt 
       2> requirements/hac-reqs1.txt

发生以下令人惊讶的 [无论如何..] 行为:

我只想要更正常的行为,类似于

这可能吗?如果不是,那么应该如何保护 <input file> 不被覆盖?

README.rst (and published at GitHub and PyPI 中所述):

To output the pinned requirements in a filename other than requirements.txt, use --output-file filename