From f4c2a87d41a5db614aabbb3830c4fb4f370c9466 Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Fri, 7 Jan 2000 13:25:53 +0000 Subject: Include -f and -t options to SYNOPSYS section (manpage) and usage information (main.c) PR: bin/5410 Submitted by: Frank Volf --- usr.sbin/pkg_install/info/main.c | 16 ++++++++-------- usr.sbin/pkg_install/info/pkg_info.1 | 3 ++- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'usr.sbin/pkg_install') 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 -- cgit v1.3