=================================================================== RCS file: /cvs/mandoc/mandoc.1,v retrieving revision 1.230 retrieving revision 1.231 diff -u -p -r1.230 -r1.231 --- mandoc/mandoc.1 2018/10/02 14:56:47 1.230 +++ mandoc/mandoc.1 2018/11/22 11:30:23 1.231 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.230 2018/10/02 14:56:47 schwarze Exp $ +.\" $Id: mandoc.1,v 1.231 2018/11/22 11:30:23 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2012, 2014-2018 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 2 2018 $ +.Dd $Mdocdate: November 22 2018 $ .Dt MANDOC 1 .Os .Sh NAME @@ -290,6 +290,18 @@ One useful application is for checking that output formats in the same way as the .Xr mdoc 7 source it was generated from. +.It Cm tag Ns Op = Ns Ar term +If the formatted manual page is opened in a pager, +go to the definition of the +.Ar term +rather than showing the manual page from the beginning. +If no +.Ar term +is specified, reuse the first command line argument that is not a +.Ar section +number. +This is useful when it is the name of a manual page, +in particular the name of a library function. .It Cm width Ns = Ns Ar width The output width is set to .Ar width