Closed zeule closed 1 year ago
What?
https://github.com/alandefreitas/clang-unformat/blob/master/standalone/cli_config.cpp#L63 you do not set c.output
.
Oh... what a terrible option name :laughing:
You're correct. I think everyone has always used the default output location
so we just never noticed the problem.
This fix is trivial:
should be followed by c.output = vm["output"].as<fs::path>();
.
We can also check if explicitly checking the output can cause any problems in
but I just went through that and I don't think so.
I made the same trivial change earlier today, and it works for me as well.
Since you caught the problem, do you want to open the PR?
Not really, thank you.
Thanks!
... in parse_cli() and ignored?