Date: Mon, 25 Feb 2019 21:59:33 -0500
On Mon, Feb 25, 2019 at 15:08:54 -0500, Nathan Sidwell wrote:
> Ben, incidentally I think we should drop the
> command-line-targets-are-already-escaped idiom for new output formats.
> Keeping it only to retain backwards compatibility with make. I.e. '-MT
> arg' expects arg to already be correctly make-escaped, but '-MT arg
> -Mformat=json' does not expect it to be escaped at all. (-Mformat not a
> real option) Oh, I see there is -MQ to add escaping. Ugh, what a mess.
Yeah, I want to put a warning on those flags if the new format is being
used. Maybe it should be an error?
--Ben
> Ben, incidentally I think we should drop the
> command-line-targets-are-already-escaped idiom for new output formats.
> Keeping it only to retain backwards compatibility with make. I.e. '-MT
> arg' expects arg to already be correctly make-escaped, but '-MT arg
> -Mformat=json' does not expect it to be escaped at all. (-Mformat not a
> real option) Oh, I see there is -MQ to add escaping. Ugh, what a mess.
Yeah, I want to put a warning on those flags if the new format is being
used. Maybe it should be an error?
--Ben
Received on 2019-02-26 03:59:45