From: Felipe Contreras Date: Wed, 11 Apr 2012 10:51:43 GMT Subject: Re: [PATCH 1/2] parse-options: Add support for dumping out long options Message-ID: In-Reply-To: <1334140165-24958-2-git-send-email-bebarino@gmail.com> On Wed, Apr 11, 2012 at 1:29 PM, Stephen Boyd wrote: > The bash completion script wants to know what the long options are for a > certain command at runtime. Add a magical long option that nobody could > possibly ever use (--dump-raw-long-options) to get this information. I thought about doing this, but I would like more than just dumping the options. In zsh one can show more than just the options; each option can have a description. I was thinking on something like 'git help --raw'. We also need something like that to list all the plumbing commands, and options for certain options, like merge strategies, and so on. Perhaps it would even make sense to have a new 'git raw-help' command. Cheers. -- Felipe Contreras