Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756232AbbKDTst (ORCPT ); Wed, 4 Nov 2015 14:48:49 -0500 Received: from smtprelay0063.hostedemail.com ([216.40.44.63]:50754 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754990AbbKDTss (ORCPT ); Wed, 4 Nov 2015 14:48:48 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:355:379:541:599:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1461:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2110:2198:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:4303:4321:4362:4605:5007:6261:7903:9010:10004:10400:10848:11232:11658:11914:12295:12517:12519:12740:13069:13072:13138:13161:13229:13231:13311:13357:14659:21080:30003:30022:30054:30062:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: prose00_4c90c2c05e451 X-Filterd-Recvd-Size: 2414 Message-ID: <1446666524.21133.63.camel@perches.com> Subject: Re: [PATCH v2 3/4] get_maintainer: add --no-foo options to --help From: Joe Perches To: Brian Norris , linux-kernel@vger.kernel.org Cc: Andrew Morton Date: Wed, 04 Nov 2015 11:48:44 -0800 In-Reply-To: <1446665302-102908-3-git-send-email-computersforpeace@gmail.com> References: <1446665302-102908-1-git-send-email-computersforpeace@gmail.com> <1446665302-102908-3-git-send-email-computersforpeace@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.16.5-1ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1699 Lines: 47 On Wed, 2015-11-04 at 11:28 -0800, Brian Norris wrote: > Many flag options are boolean and support both a positive and a negative > invocation from the command line. Some of these are even mentioned by > example (e.g., --nogit is mentioned as a default option), but they > aren't explicitly mentioned in the list of options. It happens that some > of these are pretty important, as they are default-on, and to turn them > off, you have to know about the --no-foo version. [] > v1 -> v2: > * don't clutter with --[no]foo bracketing; just include this note up front; > suggested by Joe [] > diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl [] > @@ -770,6 +770,9 @@ usage: $P [options] patchfile > $P [options] -f file|directory > version: $V > > +Most options have both positive and negative forms. The negative form of --foo > +is --nofoo. > + > MAINTAINER field selection options: > --email => print email address(es) if any > --git => include recent git \*-by: signers Hey Brian. Thanks for the series. It all seems sensible except this should be below the options instead of above it. I would put it last in the "Notes: " block just above the EOT marker. I would have broken the lines like: Most options have both positive and negative forms. The negative forms for -- are --no and --no-. So, if you could please respin and resend the series with that change, I'll ack it. cheers, Joe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/