aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2000-01-07 13:25:53 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2000-01-07 13:25:53 +0000
commitf4c2a87d41a5db614aabbb3830c4fb4f370c9466 (patch)
treea3d32fcd91b37e5b30b22968b0a1a300f9a6e9f7 /usr.sbin/pkg_install
parent75475624614527e20f04f47591b250f3897c97ce (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/info/main.c16
-rw-r--r--usr.sbin/pkg_install/info/pkg_info.13
2 files changed, 10 insertions, 9 deletions
diff --git a/usr.sbin/pkg_install/info/main.c b/usr.sbin/pkg_install/info/main.c
index 817691f32b5a..83f6ef4e0b29 100644
--- a/usr.sbin/pkg_install/info/main.c
+++ b/usr.sbin/pkg_install/info/main.c
@@ -1,8 +1,3 @@
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
-
/*
*
* FreeBSD install - a package for the installation and maintainance
@@ -28,7 +23,12 @@ static const char rcsid[] =
#include "lib.h"
#include "info.h"
-static char Options[] = "acdDe:fikrRpLqImvhl:";
+#ifndef lint
+static const char rcsid[] =
+ "$FreeBSD$";
+#endif
+
+static char Options[] = "acdDe:fhiIkl:LmpqrRt:v";
int Flags = 0;
Boolean AllInstalled = FALSE;
@@ -157,8 +157,8 @@ static void
usage()
{
fprintf(stderr, "%s\n%s\n%s\n",
- "usage: pkg_info [-cdDikrRpLqImv] [-e package] [-l prefix]",
- " pkg-name [pkg-name ...]",
+ "usage: pkg_info [-cdDfikrRpLqImv] [-e package] [-l prefix]",
+ " [-t template] [pkg-name ...]",
" pkg_info -a [flags]");
exit(1);
}
diff --git a/usr.sbin/pkg_install/info/pkg_info.1 b/usr.sbin/pkg_install/info/pkg_info.1
index 39dbe3dab161..2b991d3b0620 100644
--- a/usr.sbin/pkg_install/info/pkg_info.1
+++ b/usr.sbin/pkg_install/info/pkg_info.1
@@ -25,9 +25,10 @@
.Nd a utility for displaying information on software packages
.Sh SYNOPSIS
.Nm pkg_info
-.Op Fl cdDikrRpLqImv
+.Op Fl cdDfikrRpLqImv
.Op Fl e Ar package
.Op Fl l Ar prefix
+.Op Fl t Ar template
.Ar pkg-name [pkg-name ...]
.Nm pkg_info
.Fl a