Author: jkupec
Date: Mon Jan 14 16:14:05 2008
New Revision: 8274
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8274&view=rev
Log:
- man page/help text udpate
Modified:
trunk/zypper/doc/zypper.8
trunk/zypper/src/zypper.cc
Modified: trunk/zypper/doc/zypper.8
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/doc/zypper.8?rev=8274&r1=8273&r2=8274&view=diff
==============================================================================
--- trunk/zypper/doc/zypper.8 (original)
+++ trunk/zypper/doc/zypper.8 Mon Jan 14 16:14:05 2008
@@ -57,9 +57,9 @@
the info command are: package, patch, pattern, product.
.TP
-.B install (in) [options] <name> ...
+.B install (in) [options] ...
.TP
-.B install (in) [options] --capability <capability> ...
+.B install (in) [options] --capability ...
Install or update packages or other resolvables.
The resolvables can be selected by their name or by a capability they provide.
@@ -74,7 +74,18 @@
If EDITION is not specified, the newest available version will be installed.
This also means that if the package is already installed and newer versions
-are available, it will get upgraded to the newest one.
+are available, it will get upgraded to the newest one.
+
+Zypper is also able to install plain RPM files while trying to satisfy their
+dependencies using packages from defined repositories. You can install a plain
+RPM file by specifying its location in the install command arguments either
+as a local path or an URI. E.g.:
+
+\fB$ zypper install ~/rpms/foo.rpm http://some.site/bar.rpm\fR
+
+Zypper will download the files into its cache directory (/var/cache/zypper/RPMS),
+add this directory as a temporary \fBplaindir\fR repository and mark the
+respective resolvables for installation.
.TP
\fI\-r, \-\-repo\fR <alias>
@@ -423,15 +434,15 @@
interrupting the operation. Use this option with causion, as you can easily
overlook security problems by using it.
.TP
-.I \-p, \-\-plus-repo <URI>
+.I \-p, \-\-plus\-repo <URI>
Use an additional repository for this operation. The repository aliased tmp#
and named by the specified URI will be added for this operation and removed
at the end. You can specify this option multiple times.
.TP
-.I --disable-repositories
+.I \-\-disable\-repositories
Do not read meta-data from repositories. This option will prevent loading of
resolvables from repositories, thus making zypper work only with the installed
-resolvables (if --disable-system-resolvables was not specified).
+resolvables (if \-\-disable\-system\-resolvables was not specified).
.LP
Target Options:
.TP
@@ -442,7 +453,7 @@
packages. Note that the ZYpp lock is still created in the original system,
as well as temporary files. See also the FILES section.
.TP
-.I --disable-system-resolvables
+.I \-\-disable\-system\-resolvables
This option servers mainly for testing purposes. It will cause zypper to act
as if there were no packages installed in the system. Use with causion as you
can damage your system using this option.
Modified: trunk/zypper/src/zypper.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper.cc?rev=8274&r1=8273&r2=8274&view=diff
==============================================================================
--- trunk/zypper/src/zypper.cc (original)
+++ trunk/zypper/src/zypper.cc Mon Jan 14 16:14:05 2008
@@ -673,9 +673,10 @@
_command_help = boost::str(format(_(
// TranslatorExplanation the first %s = "package, patch, pattern, product"
// and the second %s = "package"
- "install (in) [options] <capability> ...\n"
+ "install (in) [options] ...\n"
"\n"
- "Install resolvables with specified capabilities. A capability is"
+ "Install resolvables with specified capabilities or RPM files with"
+ " specified location. A capability is"
" NAME[OP<VERSION>], where OP is one of <, <=, =, >=, >.\n"
"\n"
" Command options:\n"
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org