Include -f and -t options to SYNOPSYS section (manpage) and usage information

(main.c)

PR:		bin/5410
Submitted by:	Frank Volf <volf@oasis.IAEhv.nl>
This commit is contained in:
Alexey Zelkin 2000-01-07 13:25:53 +00:00
parent 7547562461
commit f4c2a87d41
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55567
2 changed files with 10 additions and 9 deletions

View File

@ -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);
}

View File

@ -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