Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030975AbbKDU7g (ORCPT ); Wed, 4 Nov 2015 15:59:36 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:34202 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030889AbbKDU6q (ORCPT ); Wed, 4 Nov 2015 15:58:46 -0500 From: Brian Norris To: Cc: Brian Norris , Andrew Morton , Joe Perches Subject: [PATCH v3 3/4] get_maintainer: add --no-foo options to --help Date: Wed, 4 Nov 2015 12:58:27 -0800 Message-Id: <1446670708-122507-3-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 In-Reply-To: <1446670708-122507-1-git-send-email-computersforpeace@gmail.com> References: <1446670708-122507-1-git-send-email-computersforpeace@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1841 Lines: 51 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. Rather than clutter the whole help text with bracketed '--[no]foo', let's just mention the general rule, a la 'man gcc'. Signed-off-by: Brian Norris Cc: Andrew Morton Cc: Joe Perches --- v2 -> v3: * move to Notes section * use * add --no- (Perl supports more than one form of negation) v1 -> v2: https://lkml.org/lkml/2015/11/4/479 * don't clutter with --[no]foo bracketing; just include this note up front; suggested by Joe v1: https://lkml.org/lkml/2015/8/19/441 scripts/get_maintainer.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 6c307276f3d6..145f1bf6472e 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -845,6 +845,9 @@ Notes: Entries in this file can be any command line argument. This file is prepended to any additional command line arguments. Multiple lines and # comments are allowed. + Most options have both positive and negative forms. + The negative forms for -- are --no and --no-. + EOT } -- 2.6.0.rc2.230.g3dd15c0 -- 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/