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

Re: weird strncmp usage?

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Nov 2, 2006, 09:59 UTC
Message-ID
<4549C172.3090604@xs4all.nl>
In-Reply-To
<Pine.LNX.4.63.0611021008180.1670@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin escreveu:
> However, in this case, you would need another macro, which automatically 
> extracts the argument, and soon you will end up with yet another getopt 
> package.
It puzzles me that git doesn't use getopt.  Git is rare in not accepting
  --option arg
but only
  --option=arg
Also, -abc doesn't seem to work for combining options.
Previous: Johannes SchindelinNext: Petr Baudis
Message 5 of 7 in “weird strncmp usage?”
  1. Han-Wen NienhuysNov 2, 2006
  2. Andy WhitcroftNov 2, 2006
  3. Jeff KingNov 2, 2006
  4. Johannes SchindelinNov 2, 2006
  5. Han-Wen NienhuysNov 2, 2006
  6. Petr BaudisNov 2, 2006
  7. Florian WeimerNov 3, 2006

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.