On Fri, 22 Apr 2016 10:07:49 +0100
Dimitris Papastamos <[email protected]> wrote:

> On Fri, Apr 22, 2016 at 03:24:47AM +0200, Mattias Andrée
> wrote:
> > Also in man page: [-r | -s | -w] => (-r | -s | -w)
> > 
> > Signed-off-by: Mattias Andrée <[email protected]>  
> 
> I know this pattern already exists in some core tools.
> Can you clarify why it is clearer?  I am not even sure
> what it means anymore.  I have never used (-a | -b).
> 

[ ] implies that it is optional.
( ) is rarely used, but it does appear on some man pages,
it is only used to imply that the alternation is group.
This is to avoid ambiguity: is the [-u] grouped with
-w or is it grouped with the whole alternation.

Attachment: pgpE5gWIUYwTH.pgp
Description: OpenPGP digital signature

Reply via email to