mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01:00
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:
parent
7547562461
commit
f4c2a87d41
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55567
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user