git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] git-fsck-cache argument processing

From
Sean <seanlkml@sympatico.ca>
Date
May 21, 2005, 17:22 UTC
Message-ID
<2015.10.10.10.24.1116696150.squirrel@linux1>
In-Reply-To
<20050521150926.GA96606@dspnet.fr.eu.org>
On Sat, May 21, 2005 11:09 am, Olivier Galibert said:
Show 10 quoted lines
> On Fri, May 20, 2005 at 11:38:52PM -0400, Sean wrote:
>>  -?, --help             Give this help list
>
> Could you make that '-h' please ?
>
>>  -V, --version          Print program version
>
> And that '-v'.  -V traditionally means verbose, -v version.  Yes, I
> know there are counter-examples, but statistically...
>
Hey Olivier,

Both of these options are generated automatically by argp. I'm sure there is a way to override them, but i'd rather just leave them as given by argp. For the first case, if you try '-h' on the command line you get:

$ git-fsck-cache -h git-fsck-cache: invalid option -- h Try `git-fsck-cache --help' or `git-fsck-cache --usage' for more information.

So it leads to the proper help message.
Sean
Previous: Jeff GarzikNext: Olivier Galibert
Message 10 of 18 in “[RFC] git-fsck-cache argument processing”
  1. SeanMay 21, 2005
  2. Jeff GarzikMay 21, 2005
  3. SeanMay 21, 2005
  4. Jeff GarzikMay 21, 2005
  5. Junio C HamanoMay 21, 2005
  6. Jeff GarzikMay 21, 2005
  7. Junio C HamanoMay 21, 2005
  8. Olivier GalibertMay 21, 2005
  9. Jeff GarzikMay 21, 2005
  10. SeanMay 21, 2005
  11. Olivier GalibertMay 21, 2005
  12. SeanMay 21, 2005
  13. Jeff GarzikMay 21, 2005
  14. Joel BeckerMay 21, 2005
  15. Linus TorvaldsMay 21, 2005
  16. SeanMay 21, 2005
  17. SeanMay 21, 2005
  18. Linus TorvaldsMay 21, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.