On Wed, Mar 11, 2015 at 2:20 PM, Renato Golin <[email protected]>
wrote:

> I originally disliked the change but failed to come up with a strong
> technical argument and other folks seemed all happy.
>
We should have a single unambiguous spelling for long options in the
absence of compatibility concerns with other tools.

The vastly more common prefix for these in the rest of the world is '--'.
LLVM's usage of '-' is quite strange.

I also think there is a strong technical reason to require the '=' -- it
makes the relative ordering unimportant. For any tool (such as a build
system) which builds up commandline flags, this is a huge advantage.

That was why I originally proposed we converge on the particular spelling.

 Maybe we should come up with a draft on what we want for options?
>
I don't know that we need some formal document of this kind, but if you'd
like to propose a patch for the clang internals documentation, that would
be nice.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to