Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More questions about zsh internals and documentation system
- X-seq: zsh-users 12801
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Johann \"Myrkraverk\" Oskarsson" <johann@xxxxxxxxxxxxxx>, "Zsh Users" <zsh-users@xxxxxxxxxx>
- Subject: Re: More questions about zsh internals and documentation system
- Date: Mon, 21 Apr 2008 19:33:45 -0700
- In-reply-to: <cb59c2d10804211848n25464a6bm7a6689d1e2e79b0e@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <cb59c2d10804211848n25464a6bm7a6689d1e2e79b0e@xxxxxxxxxxxxxx>
On Apr 22, 1:48am, Johann \Myrkraverk\ Oskarsson wrote:
}
} Some C libraries are initialized with some_init( &argc, argv )
} function that remove the library specific flags from argv. Can a
} builtin behave in the same way, when given $@ ?
Look at the implementation of bin_zparseopts in Modules/utils.c. Just
replace the global pparams array with the new array, being careful
about memory allocation.
} When documenting a function that takes many long parameters, how
} should I do that nicely?
A good example is the "compadd" command in Doc/Zsh/compwid.yo. Use
the xitem() yodl macro.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author