From: Brandon Casey Date: Mon, 16 Feb 2015 01:35:20 GMT Subject: Re: [PATCH 1/2] git-send-email.perl: support no- prefix with older GetOptions Message-ID: In-Reply-To: <031750B1-259D-4F19-8484-98A7A1266248@gmail.com> On Sun, Feb 15, 2015 at 1:51 AM, Kyle J. McKay wrote: > On Feb 14, 2015, at 22:32, Brandon Casey wrote: > >> On Fri, Feb 13, 2015 at 12:19 PM, Junio C Hamano >> wrote: >>> >>> From: "Kyle J. McKay" >>> >>> Only Perl version 5.8.0 or later is required, but that comes with >>> an older Getopt::Long (2.32) that does not support the 'no-' >>> prefix. Support for that was added in Getopt::Long version 2.33. >>> >>> Since the help only mentions the 'no-' prefix and not the 'no' >>> prefix, add explicit support for the 'no-' prefix when running >>> with older GetOptions versions. >> >> >> ultra-ultra-nit: s/when running/for when running/ > > > So it would say "add explicit support for the 'no-'prefix for when running > with"... That doesn't make sense to me. > >> The current wording >> makes it sound like the explicit support is only enabled when running >> with older GetOpt versions. > > > How about this instead: > > Since the help only mentions the 'no-' prefix and not the 'no' > prefix, add explicit support for the 'no-' prefix to support > older GetOptions versions. Works for me. -Brandon