On Thu, Feb 18, 2016 at 02:44:58PM -0500, Michael Reed wrote:
> locate(1)'s `m' and `s' flags were deleted a while ago, but pkg_locate's man
> page wasn't updated.
> 
> I read [1] and thought that this change, given it's only documentation, would
> be okay to commit, but please correct me if I'm wrong
> 
> [1]: https://marc.info/?l=openbsd-ports&m=145460329517278&w=2

Since it's an always-update package, practically, this will work.
But this kind of change still feels better with a version change
(e.g., bump to 1.2)

> 
> 
> Index: files/pkg_locate.1
> ===================================================================
> RCS file: /cvs/ports/databases/pkglocatedb/files/pkg_locate.1,v
> retrieving revision 1.2
> diff -u -p -r1.2 pkg_locate.1
> --- files/pkg_locate.1        21 Oct 2013 09:04:47 -0000      1.2
> +++ files/pkg_locate.1        18 Feb 2016 19:35:11 -0000
> @@ -23,7 +23,7 @@
>  .Sh SYNOPSIS
>  .Nm pkg_locate
>  .Bk -words
> -.Op Fl bcimSs
> +.Op Fl bciS
>  .Op Fl l Ar limit
>  .Ar pattern ...
>  .Ek
> @@ -95,21 +95,8 @@ Suppress normal output; instead print a
>  Ignore case distinctions in both the pattern and the database.
>  .It Fl l Ar limit
>  Limit output to a specific number of files and exit.
> -.It Fl m
> -Use
> -.Xr mmap 2
> -instead of the
> -.Xr stdio 3
> -library.
> -This is the default behavior.
> -It performs better in most cases.
>  .It Fl S
>  Print some statistics about the database and exit.
> -.It Fl s
> -Use the
> -.Xr stdio 3
> -library instead of
> -.Xr mmap 2 .
>  .El
>  .Sh FILES
>  .Bl -tag -compact -width /usr/local/share/pkglocatedb
> Index: files/pkglocate
> ===================================================================
> RCS file: /cvs/ports/databases/pkglocatedb/files/pkglocate,v
> retrieving revision 1.2
> diff -u -p -r1.2 pkglocate
> --- files/pkglocate   10 Oct 2012 09:49:20 -0000      1.2
> +++ files/pkglocate   18 Feb 2016 19:35:11 -0000
> @@ -1,7 +1,7 @@
>  #! /bin/sh
>  if [ $# -eq 0 ]; then
> -     echo "usage: ${0##*/} [-bcimSs] [-l limit] pattern ..."
> +     echo "usage: ${0##*/} [-bciS] [-l limit] pattern ..."
>       exit 1
>  fi

Reply via email to