added info on --triggers, --triggeredby

CVS patchset: 2265
CVS date: 1998/08/25 15:10:04
This commit is contained in:
ewt 1998-08-25 15:10:04 +00:00
parent 3d48c1b420
commit db15666699
2 changed files with 12 additions and 3 deletions

5
rpm.8
View File

@ -193,6 +193,9 @@ Query all packages that requires \fI<capability>\fP for proper functioning.
Query all packages that provide the \fI<virtual>\fP capability.
.IP "\fB\-f \fI<file>\fP"
Query package owning \fI<file>\fP.
.IP "\fB\-\-requiredby \fI<package>\fP"
Query all of the package which contain triggers scripts that are triggered
by \fI<package>\fR.
.IP "\fB\-p \fI<package_file>\fP"
Query an (uninstalled) package \fI<package_file>\fP.
The <package_file> may be specified as an ftp style URL, in which case
@ -224,6 +227,8 @@ List only configuration files (implies \fB\-l\fP).
.IP "\fB\-\-scripts\fP"
List the package specific shell scripts that are used as part of the
installation and uninstallation processes, if there are any.
.IP "\fB\-\-triggers\fP"
Display the trigger scripts, if any, which are contained in the package.
.IP "\fB\-\-dump\fP"
Dump file information as follows: path size mtime md5sum mode
owner group isconfig isdoc rdev symlink. This must be used with

10
rpm.c
View File

@ -213,9 +213,9 @@ static void printUsage(void) {
puts(_(" rpm {--query -q} [-afpg] [-i] [-l] [-s] [-d] [-c] [-v] [-R]"));
puts(_(" [--scripts] [--root <dir>] [--rcfile <file>]"));
puts(_(" [--whatprovides] [--whatrequires] [--requires]"));
puts(_(" [--ftpuseport] [--ftpproxy <host>] [--ftpport <port>]"));
puts(_(" [--provides] [--dump] [--dbpath <dir>] [--changelog]"));
puts(_(" [targets]"));
puts(_(" [--triggeredby] [--ftpuseport] [--ftpproxy <host>]"));
puts(_(" [--ftpport <port>] [--provides] [--triggers] [--dump]"));
puts(_(" [--changelog] [--dbpath <dir>] [targets]"));
puts(_(" rpm {--verify -V -y} [-afpg] [--root <dir>] [--rcfile <file>]"));
puts(_(" [--dbpath <dir>] [--nodeps] [--nofiles] [--noscripts]"));
puts(_(" [--nomd5] [targets]"));
@ -303,6 +303,8 @@ static void printHelp(void) {
_("query package owning <file>"));
printHelpLine(" -p <packagefile>+ ",
_("query (uninstalled) package <packagefile>"));
printHelpLine(" --triggeredby <package>",
_("query packages triggered by <package>"));
printHelpLine(" --whatprovides <i>",
_("query packages which provide <i> capability"));
printHelpLine(" --whatrequires <i>",
@ -329,6 +331,8 @@ static void printHelp(void) {
_("list package dependencies"));
printHelpLine(" --scripts ",
_("print the various [un]install scripts"));
printHelpLine(" --triggers ",
_("show the trigger scripts contained in the package"));
puts( "");
puts( " -V");
puts( " -y");