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

Re: [PATCH] builtin/fsmonitor--daemon: use parse-options API fully

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Aug 17, 2021, 18:03 UTC
Message-ID
<9e21753d-49c7-8d4d-de6d-d6102d3aa8da@jeffhostetler.com>
In-Reply-To
<20210817102710.23916-1-carenas@gmail.com>
On 8/17/21 6:27 AM, Carlo Marcelo Arenas Belón wrote:
Show 7 quoted lines
> --help and -h are already handled internally so just parse_options()
> do the parsing and extract the command from the remaining options.
> 
> as a side effect, avoid setting a variable argc to a value that was
> never used.
> 
> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
 > ...

Thanks again. I'll take a look and squash this in. Jeff

Previous: Carlo Marcelo Arenas Belón
Message 2 of 2 in “builtin/fsmonitor--daemon: use parse-options API fully”
  1. builtin/fsmonitor--daemon: use parse-options API fullyCarlo Marcelo Arenas Belón, Aug 17, 2021
  2. Jeff HostetlerAug 17, 2021

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.