Subject: Re: mktemp(1) synopsis; calling it without arguments
To: Hubert Feyrer <hubert@feyrer.de>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-userlevel
Date: 09/18/2006 18:02:38
On Sun, Sep 17, 2006 at 11:37:56PM +0200, Hubert Feyrer wrote:
> On Sun, 17 Sep 2006, Alan Barrett wrote:
> >>     mktemp [-d] [-q] [-u] [-t prefix | template ...]
> >
> >I think that should use curly braces to indicate a non-optional
> >choice:
> >
> >    mktemp [-d] [-q] [-u] {-t prefix | template ...}
> 
> I'm not sure about using curly braces in this context - is there any 
> (manpage) example where that's used? Else I'd suggest
> 
> 	mktemp [-d] [-q] [-u] -t prefix
> 	mktemp [-d] [-q] [-u] template
> 
> Dunno if that's better... wizd?

The {} version looks fine to me.
 Thomas