summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-05-16 22:01:28 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-05-16 22:01:28 +0000
commit372bdd10502454ce1e1c461bf0a99d6fafb99f4c (patch)
tree4a90189877b33babbd919ae09156710a8269d2ae
parent009e02060654a596ae4a574b19c148d2d6404283 (diff)
- sort usage()
- use .Bk/.Ek to avoid ugly SYNOPSIS split
-rw-r--r--usr.sbin/pkg_add/pkg_mklocatedb2
-rw-r--r--usr.sbin/pkg_add/pkg_mklocatedb.14
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_mklocatedb b/usr.sbin/pkg_add/pkg_mklocatedb
index 52dc3454b9b..6304a2bd8cc 100644
--- a/usr.sbin/pkg_add/pkg_mklocatedb
+++ b/usr.sbin/pkg_add/pkg_mklocatedb
@@ -34,7 +34,7 @@ sub print_name
package main;
-set_usage('pkg_mklocatedb [-anPq] [-p portsdir] [-d repository] [-r release] [-s src] [-x X11src] [pkg-name [...]]');
+set_usage('pkg_mklocatedb [-anPq] [-d repository] [-p portsdir] [-r release] [-s src] [-x X11src] [pkg-name [...]]');
our ($opt_a, $opt_n, $opt_q, $opt_s, $opt_x, $opt_r, $opt_p, $opt_P, $opt_d);
diff --git a/usr.sbin/pkg_add/pkg_mklocatedb.1 b/usr.sbin/pkg_add/pkg_mklocatedb.1
index a5b0800ade8..b6c897dc941 100644
--- a/usr.sbin/pkg_add/pkg_mklocatedb.1
+++ b/usr.sbin/pkg_add/pkg_mklocatedb.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_mklocatedb.1,v 1.9 2008/05/16 18:29:18 espie Exp $
+.\" $OpenBSD: pkg_mklocatedb.1,v 1.10 2008/05/16 22:01:27 jmc Exp $
.\" Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -21,6 +21,7 @@
.Nd create a locate database for packages
.Sh SYNOPSIS
.Nm pkg_mklocatedb
+.Bk -words
.Op Fl anPq
.Op Fl d Ar repository
.Op Fl p Ar portsdir
@@ -28,6 +29,7 @@
.Op Fl s Ar src
.Op Fl x Ar X11src
.Op Ar pkg-name Op Ar ...
+.Ek
.Sh DESCRIPTION
The
.Nm