Re: [PATCH v2] config: add '--sources' option to print the source of a config value
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Feb 10, 2016, 15:28 UTC
- Message-ID
- <CAHGBnuNGTQvBStqK6-OERye4y2+yvRkK3g+rdSNPepSqy4kyRg@mail.gmail.com>
- In-Reply-To
- <56BB3157.7080307@ramsayjones.plus.com>
On Wed, Feb 10, 2016 at 1:47 PM, Ramsay Jones <ramsay@ramsayjones.plus.com> wrote:
Show 14 quoted lines
>> Sebastian suggested "--show-origin" as a better option name over "--sources". >> I still believe "--sources" might be slightly better as I fear that users could >> somehow related "origin" to "remote" kind of configs. However, I am happy to >> change that if a majority prefers "--show-origin". > > <bikeshed> > As I have said before, I'm not very good at naming things, but ... > > Of the two, I *slightly* prefer --show-origin, since I don't think > there will be any confusion. However, I think --source may be OK too > (for some reason it sounds better than the plural). Another idea > may be --show-source. ;-) > > </bikeshed>
I agree that using --source sounds better than --sources, as the latter sounds even more like "source code".
Here's another idea: How about --declaration or --show-declaration?
-- Sebastian Schuberth