Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: _arguments parsing of --help output



On Jul 21,  3:22pm, Bart Schaefer wrote:
> 
> I'm also curious in what circumstances the code to "... split the result
> again at newlines after joining the old array elements with newlines
> between them" ever makes a difference?  It strikes me as redundant.

To answer myself ... it eliminates empty array elements, which probably
don't matter because they won't match the `-' prefix and so compadd will
discard them; but it's probably cleaner to explicitly squelch them.



Messages sorted by: Reverse Date, Date, Thread, Author