Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247030

Re: [PATCH 1/2] get_maintainer: add --no-foo options to --help

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] get_maintainer: add --no-foo options to --help
Date 2015-10-14 19:40 +0200
Message-ID <qjybV-5uA-27@gated-at.bofh.it> (permalink)
References <pZjS9-2jo-11@gated-at.bofh.it> <qjxSx-58q-7@gated-at.bofh.it> <qjxSx-58q-5@gated-at.bofh.it> <qjybV-5uA-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2015-10-14 at 10:33 -0700, Brian Norris wrote:
> + akpm
> 
> On Wed, Oct 14, 2015 at 10:15:31AM -0700, Joe Perches wrote:
> > On Wed, 2015-10-14 at 10:10 -0700, Brian Norris wrote:
> > > Ping? Should I resend?
> > 
> > I don't have a strong opinion about this.
> > 
> > It seems the [no] blocks make the generic options more
> > difficult to read.
> 
> The '[no]' formatting is similar to how some (but not all) man pages do
> this. If it is too difficult, I'm open to something else. Just a note
> somewhere that all boolean options have equivalent '--no<foo>' options?
> 
> BTW, one thing I didn't note in the commit message is that this is
> important because some options are already *on* by default, and so it is
> only sensible to use the --no version, which isn't even documented.
> Particularly, options like --norolestats.

Maybe using something like gcc's documentation of options
that have negative forms might be better.

$ man gcc
...
Most of these have both positive and negative forms;
the negative form of -ffoo is -fno-foo
...
$


--
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/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] get_maintainer: add --no-foo options to --help Joe Perches <joe@perches.com> - 2015-10-14 19:20 +0200
  Re: [PATCH 1/2] get_maintainer: add --no-foo options to --help Brian Norris <computersforpeace@gmail.com> - 2015-10-14 19:40 +0200
    Re: [PATCH 1/2] get_maintainer: add --no-foo options to --help Joe Perches <joe@perches.com> - 2015-10-14 19:40 +0200

csiph-web