aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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