On Sat, Sep 30, 2006 at 12:03:37PM +0159, Han Boetes wrote:
> Hi,
> 
> I got this manpage which I am improving and I got this line
> 
>   spamprobe auto-train {SPAM|GOOD file ...} ...
> 
> 
> For which I used this code
> 
>   .It Nm spamprobe Cm auto-train Ar {SPAM|GOOD file ...} ...
> 
> But that's ugly since there doesn't seem to be a macro that does
> curly braces.
> 
> Is using curly braces the right way to show the construction and
> what code should I use here?
> 

i don;t think there is a macro for curly braces. but for optional
arguments you probably want .Op anyway:

        .It Xo
        .Nm spamprobe
        .Cm auto-train
        .Op Ar SPAM\*(BaGOOD Ar
        .Xc

if you really want the braces, but not to mark them up, you could use
.Pf or .No (depending) to do it.

jmc

Reply via email to