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

Re: [PATCH] Fixing --help, usage for *-id

From
Petr Baudis <pasky@suse.cz>
Date
Sep 19, 2005, 21:40 UTC
Message-ID
<20050919214054.GF18320@pasky.or.cz>
In-Reply-To
<1127165381.26772.16.camel@dv>

Dear diary, on Mon, Sep 19, 2005 at 11:29:41PM CEST, I got a letter where Pavel Roskin <proski@gnu.org> told me that...

> Hello!
Hello,
> Removal of cg-Xlib inclusion in *-id scripts broke "--help" switch.
> When cg-Xlib is sourced indirectly through cg-Xnormid, the help text is
> treated like an ID, and its last word is dropped.

do we really need --help in *-id? They are some kind of scripts half-internal and half for the user - their _primary_ use is from the other scripts, but they are standalone since they can be useful for the end user as well in various situations. I can roughly remember cg-Xlib inclusion in those scripts being significantly visible on the running times of the users.

> Lack of USAGE string in the *-id scripts breaks the documentation
> generation because empty synopsis causes invalid XML.  Thus the USAGE
> strings should be provided.
Thanks, this was already taken care of by Martin Atukunda.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Previous: Pavel Roskin
Message 2 of 2 in “Fixing --help, usage for *-id”
  1. Fixing --help, usage for *-idPavel Roskin, Sep 19, 2005
  2. Petr BaudisSep 19, 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.