diff options
author | delphij <delphij@FreeBSD.org> | 2010-01-22 23:50:46 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-01-22 23:50:46 +0000 |
commit | 231fd8e7071992b0c7c3477ab1fd3dd9356ade28 (patch) | |
tree | 3b954a788a90113858c9c7f2941a2146ea438ba1 | |
parent | 737c980d8c4ca05ce793a19b3ea15819f83ce83e (diff) | |
download | FreeBSD-src-231fd8e7071992b0c7c3477ab1fd3dd9356ade28.zip FreeBSD-src-231fd8e7071992b0c7c3477ab1fd3dd9356ade28.tar.gz |
- Collapase short and long options together;
- Use consistent marking up with bc(1)'s reference section.
Reviewed by: gabor
-rw-r--r-- | usr.bin/dc/dc.1 | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/usr.bin/dc/dc.1 b/usr.bin/dc/dc.1 index 1706538..03fc762 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 |