From ad4fe553c538a1631caf2c72b7b0593af6f0f049 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Fri, 22 Jan 2010 23:50:46 +0000 Subject: [PATCH] - Collapase short and long options together; - Use consistent marking up with bc(1)'s reference section. Reviewed by: gabor --- usr.bin/dc/dc.1 | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/usr.bin/dc/dc.1 b/usr.bin/dc/dc.1 index 17065389c286..03fc7621a5a8 100644 --- a/usr.bin/dc/dc.1 +++ b/usr.bin/dc/dc.1 @@ -35,7 +35,7 @@ .\" .\" @(#)dc.1 8.1 (Berkeley) 6/6/93 .\" -.Dd Jan 28 2009 +.Dd January 22, 2010 .Dt DC 1 .Os .Sh NAME @@ -67,8 +67,7 @@ which implements functions and reasonable control structures for programs. The options are as follows: .Bl -tag -width Ds -.It Fl e Ar expr -.It Fl Fl expression Ar expr +.It Fl e Ar expr , Fl Fl expression Ar expr Evaluate .Ar expression . If multiple @@ -80,17 +79,14 @@ argument is given, execution will stop after processing the expressions given on the command line, otherwise processing will continue with the contents of .Ar filename . -.It Fl f Ar filename -.It Fl Fl file Ar filename +.It Fl f Ar filename , Fl Fl file Ar filename Process the content of the given file before further calculations are done. If multiple .Fl f options are specified, they will be processed in the order given. -.It Fl h -.It Fl Fl help +.It Fl h , Fl Fl help Print short usage info. -.It Fl V -.It Fl Fl version +.It Fl V , Fl Fl version Print version info. .It Fl x Enable extended register mode. @@ -513,12 +509,12 @@ operator. .El .Sh SEE ALSO .Xr bc 1 -.Rs -.%B USD:05 -.%A L. L. Cherry -.%A R. Morris -.%T "DC \- An Interactive Desk Calculator" -.Re +.Pp +.An -nosplit +.An L. L. Cherry , +.An R. Morris +"DC \- An Interactive Desk Calculator" +.Pa /usr/share/doc/usd/05.dc/ . .Sh STANDARDS The arithmetic operations of the .Nm