Remove extraneous keeps in SYNOPSIS now that mandoc does implied

keeps when converting from mdoc to man.
This commit is contained in:
Todd C. Miller
2014-02-15 15:18:20 -07:00
parent 94d4482238
commit a9cfe4fc44
3 changed files with 6 additions and 80 deletions

View File

@@ -1,5 +1,5 @@
.\" .\"
.\" Copyright (c) 1994-1996, 1998-2005, 2007-2013 .\" Copyright (c) 1994-1996, 1998-2005, 2007-2014
.\" Todd C. Miller <Todd.Miller@courtesan.com> .\" Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
.\" Permission to use, copy, modify, and distribute this software for any .\" Permission to use, copy, modify, and distribute this software for any
@@ -19,7 +19,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" .\"
.Dd December 8, 2013 .Dd February 15, 2014
.Dt SUDO @mansectsu@ .Dt SUDO @mansectsu@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@@ -32,105 +32,45 @@
.Nm sudo .Nm sudo
.Fl v .Fl v
.Op Fl AknS .Op Fl AknS
.Bk -words
.Op Fl a Ar type .Op Fl a Ar type
.Ek
.Bk -words
.Op Fl g Ar group .Op Fl g Ar group
.Ek
.Bk -words
.Op Fl h Ar host .Op Fl h Ar host
.Ek
.Bk -words
.Op Fl p Ar prompt .Op Fl p Ar prompt
.Ek
.Bk -words
.Op Fl u Ar user .Op Fl u Ar user
.Ek
.Nm sudo .Nm sudo
.Fl l .Fl l
.Op Fl AknS .Op Fl AknS
.Bk -words
.Op Fl a Ar type .Op Fl a Ar type
.Ek
.Bk -words
.Op Fl g Ar group .Op Fl g Ar group
.Ek
.Bk -words
.Op Fl h Ar host .Op Fl h Ar host
.Ek
.Bk -words
.Op Fl p Ar prompt .Op Fl p Ar prompt
.Ek
.Bk -words
.Op Fl U Ar user .Op Fl U Ar user
.Ek
.Bk -words
.Op Fl u Ar user .Op Fl u Ar user
.Ek
.Op Ar command .Op Ar command
.Nm sudo .Nm sudo
.Op Fl AbEHnPS .Op Fl AbEHnPS
.Bk -words
.Op Fl a Ar type .Op Fl a Ar type
.Ek
.Bk -words
.Op Fl C Ar num .Op Fl C Ar num
.Ek
.Bk -words
.Op Fl c Ar class .Op Fl c Ar class
.Ek
.Bk -words
.Op Fl g Ar group .Op Fl g Ar group
.Ek
.Bk -words
.Op Fl h Ar host .Op Fl h Ar host
.Ek
.Bk -words
.Op Fl p Ar prompt .Op Fl p Ar prompt
.Ek
.Bk -words
.Op Fl r Ar role .Op Fl r Ar role
.Ek
.Bk -words
.Op Fl t Ar type .Op Fl t Ar type
.Ek
.Bk -words
.Op Fl u Ar user .Op Fl u Ar user
.Ek
.Bk -words
.Op Ar VAR Ns = Ns Ar value .Op Ar VAR Ns = Ns Ar value
.Ek
.Bk -words
.Op Fl i No | Fl s .Op Fl i No | Fl s
.Ek
.Op Ar command .Op Ar command
.Nm sudoedit .Nm sudoedit
.Op Fl AknS .Op Fl AknS
.Bk -words
.Op Fl a Ar type .Op Fl a Ar type
.Ek
.Bk -words
.Op Fl C Ar num .Op Fl C Ar num
.Ek
.Bk -words
.Op Fl c Ar class .Op Fl c Ar class
.Ek
.Bk -words
.Op Fl g Ar group .Op Fl g Ar group
.Ek
.Bk -words
.Op Fl h Ar host .Op Fl h Ar host
.Ek
.Bk -words
.Op Fl p Ar prompt .Op Fl p Ar prompt
.Ek
.Bk -words
.Op Fl u Ar user .Op Fl u Ar user
.Ek
.Bk -words
file ... file ...
.Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm sudo .Nm sudo
allows a permitted user to execute a allows a permitted user to execute a

View File

@@ -1,5 +1,5 @@
.\" .\"
.\" Copyright (c) 2009-2013 Todd C. Miller <Todd.Miller@courtesan.com> .\" Copyright (c) 2009-2014 Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
.\" Permission to use, copy, modify, and distribute this software for any .\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above .\" purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd October 28, 2013 .Dd February 15, 2014
.Dt SUDOREPLAY @mansectsu@ .Dt SUDOREPLAY @mansectsu@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@@ -23,25 +23,15 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm sudoreplay .Nm sudoreplay
.Op Fl h .Op Fl h
.Bk -words
.Op Fl d Ar dir .Op Fl d Ar dir
.Ek
.Bk -words
.Op Fl f Ar filter .Op Fl f Ar filter
.Ek
.Bk -words
.Op Fl m Ar num .Op Fl m Ar num
.Ek
.Bk -words
.Op Fl s Ar num .Op Fl s Ar num
.Ek
ID ID
.Pp .Pp
.Nm sudoreplay .Nm sudoreplay
.Op Fl h .Op Fl h
.Bk -words
.Op Fl d Ar dir .Op Fl d Ar dir
.Ek
.Fl l .Fl l
.Op search expression .Op search expression
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@@ -1,5 +1,5 @@
.\" .\"
.\" Copyright (c) 1996,1998-2005, 2007-2013 .\" Copyright (c) 1996,1998-2005, 2007-2014
.\" Todd C. Miller <Todd.Miller@courtesan.com> .\" Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
.\" Permission to use, copy, modify, and distribute this software for any .\" Permission to use, copy, modify, and distribute this software for any
@@ -19,7 +19,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" .\"
.Dd December 16, 2013 .Dd February 15, 2014
.Dt VISUDO @mansectsu@ .Dt VISUDO @mansectsu@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@@ -28,12 +28,8 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm visudo .Nm visudo
.Op Fl chqsV .Op Fl chqsV
.Bk -words
.Op Fl f Ar sudoers .Op Fl f Ar sudoers
.Ek
.Bk -words
.Op Fl x Ar file .Op Fl x Ar file
.Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm visudo .Nm visudo
edits the edits the