Currently we have 5 options for --dump command line option.
insns
insns_without_opt
yydebug(+error-tolerant)
parsetree(+error-tolerant)
parsetree_with_comment(+error-tolerant)
Among these, insns_without_opt is a variant of insns, and parsetree_with_comment is a variant of parsetree.
However, there is now another way to specify variants (e.g. +error-tolerant).
How about unifying the two so that the former can also be specified in the same form, such as --dump=parsetree+comment+error-tolerant?
It also will be able to abbreviate as parse+comm+err or more.
What will replace insns? I don't want to type insns+opt every single time. If it stays as is and insns_without_opt is changed to insns-opt (insns minus opt) or something, I'm good.
I don't feel particularly strongly about this, but something about have +- in the argument feels a little clunky to me.
I understand the desire to not change the existing options like --dump=insns, and that we've got ourselves into a state where we have both with and without, but what about if we changed the + to , - similar to how you pass options to the linker through gcc. Something like: