From: Jeff King Date: Tue, 03 Mar 2009 17:57:19 GMT Subject: Re: [PATCH] doc: clarify how -S works Message-ID: <20090303175719.GC1636@coredump.intra.peff.net> In-Reply-To: <43d8ce650903030939u73f09171uf4041b6d9824b698@mail.gmail.com> On Tue, Mar 03, 2009 at 05:39:38PM +0000, John Tapsell wrote: > > Yes, that is technically correct. I was trying to find a wording that > > was a little less "this is literally what it does" and more "this is > > what you might find it useful for". > > Is there any way to have an option to also match any line containing > the string? That might be the best way to document it, as well as > being very useful: > > -s > Look for any additions, removals or changes in any line containing > -S > Look only for any additions or removals of the in any line Yes, that would be possible (though it is still not foolproof against moves, as I mentioned elsewhere), and I think it would be simple to explain the two together. It just needs somebody to code it. Unfortunately "-s" is already taken for "no output". -Peff