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

RE: Examples in _arguments description



> >
> > The second example `(-foo):...' is not mentioned anywhere
> and looks a
> > bit strange anyway.
>
> What do you mean by `not mentioned anywhere'? It's described
> immediately before that: `with which the option *or argument* ...'.
>
> And why does it look `strange'? (At least not stranger than other
> things I've written ;-)
>

Erm ... granted. The problem is, you give two examples immediately
followed by "In the first example ..." - and reader expects then "In the
second example ...". And the whole paragraph stresses the _options_ case
just casually mentioning _arguments_ (hence my confusion). So I suggest
adding something like "In the second example the argument (which one?)
won't be offered if option -foo is present"

-andrej



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