From a9cfe4fc44d19e9eee6f4cf38660cf8076e6cb57 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 15 Feb 2014 15:18:20 -0700 Subject: [PATCH] Remove extraneous keeps in SYNOPSIS now that mandoc does implied keeps when converting from mdoc to man. --- doc/sudo.mdoc.in | 64 ++---------------------------------------- doc/sudoreplay.mdoc.in | 14 ++------- doc/visudo.mdoc.in | 8 ++---- 3 files changed, 6 insertions(+), 80 deletions(-) diff --git a/doc/sudo.mdoc.in b/doc/sudo.mdoc.in index 2a8a1bffc..2dbb66f84 100644 --- a/doc/sudo.mdoc.in +++ b/doc/sudo.mdoc.in @@ -1,5 +1,5 @@ .\" -.\" Copyright (c) 1994-1996, 1998-2005, 2007-2013 +.\" Copyright (c) 1994-1996, 1998-2005, 2007-2014 .\" Todd C. Miller .\" .\" Permission to use, copy, modify, and distribute this software for any @@ -19,7 +19,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd December 8, 2013 +.Dd February 15, 2014 .Dt SUDO @mansectsu@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -32,105 +32,45 @@ .Nm sudo .Fl v .Op Fl AknS -.Bk -words .Op Fl a Ar type -.Ek -.Bk -words .Op Fl g Ar group -.Ek -.Bk -words .Op Fl h Ar host -.Ek -.Bk -words .Op Fl p Ar prompt -.Ek -.Bk -words .Op Fl u Ar user -.Ek .Nm sudo .Fl l .Op Fl AknS -.Bk -words .Op Fl a Ar type -.Ek -.Bk -words .Op Fl g Ar group -.Ek -.Bk -words .Op Fl h Ar host -.Ek -.Bk -words .Op Fl p Ar prompt -.Ek -.Bk -words .Op Fl U Ar user -.Ek -.Bk -words .Op Fl u Ar user -.Ek .Op Ar command .Nm sudo .Op Fl AbEHnPS -.Bk -words .Op Fl a Ar type -.Ek -.Bk -words .Op Fl C Ar num -.Ek -.Bk -words .Op Fl c Ar class -.Ek -.Bk -words .Op Fl g Ar group -.Ek -.Bk -words .Op Fl h Ar host -.Ek -.Bk -words .Op Fl p Ar prompt -.Ek -.Bk -words .Op Fl r Ar role -.Ek -.Bk -words .Op Fl t Ar type -.Ek -.Bk -words .Op Fl u Ar user -.Ek -.Bk -words .Op Ar VAR Ns = Ns Ar value -.Ek -.Bk -words .Op Fl i No | Fl s -.Ek .Op Ar command .Nm sudoedit .Op Fl AknS -.Bk -words .Op Fl a Ar type -.Ek -.Bk -words .Op Fl C Ar num -.Ek -.Bk -words .Op Fl c Ar class -.Ek -.Bk -words .Op Fl g Ar group -.Ek -.Bk -words .Op Fl h Ar host -.Ek -.Bk -words .Op Fl p Ar prompt -.Ek -.Bk -words .Op Fl u Ar user -.Ek -.Bk -words file ... -.Ek .Sh DESCRIPTION .Nm sudo allows a permitted user to execute a diff --git a/doc/sudoreplay.mdoc.in b/doc/sudoreplay.mdoc.in index bf20bd367..b1d47b05b 100644 --- a/doc/sudoreplay.mdoc.in +++ b/doc/sudoreplay.mdoc.in @@ -1,5 +1,5 @@ .\" -.\" Copyright (c) 2009-2013 Todd C. Miller +.\" Copyright (c) 2009-2014 Todd C. Miller .\" .\" Permission to use, copy, modify, and distribute this software for any .\" 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. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd October 28, 2013 +.Dd February 15, 2014 .Dt SUDOREPLAY @mansectsu@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -23,25 +23,15 @@ .Sh SYNOPSIS .Nm sudoreplay .Op Fl h -.Bk -words .Op Fl d Ar dir -.Ek -.Bk -words .Op Fl f Ar filter -.Ek -.Bk -words .Op Fl m Ar num -.Ek -.Bk -words .Op Fl s Ar num -.Ek ID .Pp .Nm sudoreplay .Op Fl h -.Bk -words .Op Fl d Ar dir -.Ek .Fl l .Op search expression .Sh DESCRIPTION diff --git a/doc/visudo.mdoc.in b/doc/visudo.mdoc.in index 090816465..b4254fb42 100644 --- a/doc/visudo.mdoc.in +++ b/doc/visudo.mdoc.in @@ -1,5 +1,5 @@ .\" -.\" Copyright (c) 1996,1998-2005, 2007-2013 +.\" Copyright (c) 1996,1998-2005, 2007-2014 .\" Todd C. Miller .\" .\" Permission to use, copy, modify, and distribute this software for any @@ -19,7 +19,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd December 16, 2013 +.Dd February 15, 2014 .Dt VISUDO @mansectsu@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -28,12 +28,8 @@ .Sh SYNOPSIS .Nm visudo .Op Fl chqsV -.Bk -words .Op Fl f Ar sudoers -.Ek -.Bk -words .Op Fl x Ar file -.Ek .Sh DESCRIPTION .Nm visudo edits the -- 2.40.0