Author: jkupec
Date: Thu Jan 17 14:22:40 2008
New Revision: 8311
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8311&view=rev
Log:
- use -D for --dry-run (-d will be --download-only)
- update man page
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=8311&r1=8310&r2=8311&view=diff
==============================================================================
--- trunk/zypper/doc/zypper.8 (original)
+++ trunk/zypper/doc/zypper.8 Thu Jan 17 14:22:40 2008
@@ -1,4 +1,4 @@
-.TH "zypper" "8" "0.9.5" "zypper" "System Tools"
+.TH "zypper" "8" "0.9.6" "zypper" "System Tools"
.SH "SYNTAX"
.LP
zypper [\fI\-\-global\-options\fR] <\fBcommand\fR> [\fI\-\-command\-options\fR] [\fBcommand-arguments\fR]
@@ -122,6 +122,10 @@
The default value is 'on' in the interactive mode and 'off' in the
non-interactive mode. If this option is specified, it takes the preference.
+.TP
+.I \-D, \-\-dry\-run
+Test the installation, do not actually install any package. This option will
+add the \-\-test option to the rpm commands run by the install command.
.TP
.B source-install (si) <name> ...
@@ -170,6 +174,10 @@
.I \-R, \-\-force\-resolution
Force the solver to find a solution, even if it would mean removing all packages
with unfulfilled requirements.
+.TP
+.I \-D, \-\-dry\-run
+Test the removal of packages, do not actually remove anything. This option will
+add the \-\-test option to the rpm commands run by the remove command.
.TP
.B update (up) [options]
@@ -198,6 +206,10 @@
.I \-R, \-\-force\-resolution
Force the solver to find a solution, even if it would mean removing all packages
with unfulfilled requirements.
+.TP
+.I \-D, \-\-dry\-run
+Test the update, do not actually install or update any package. This option will
+add the \-\-test option to the rpm commands run by the update command.
.B NOTE:
Zypper prefers to update only those packages for which a patch
@@ -220,7 +232,10 @@
.TP
.I \-\-debug\-solver
Create solver test case for debugging. See the install command for details.
-
+.TP
+.I \-D, \-\-dry\-run
+Test the upgrade, do not actually install or update any package. This option will
+add the \-\-test option to the rpm commands run by the dist-upgrade command.
.TP
\fBsearch\fR (\fBse\fR) [\fIoptions\fR] [\fBquerystring\fR] ...
Modified: trunk/zypper/src/zypper.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper.cc?rev=8311&r1=8310&r2=8311&view=diff
==============================================================================
--- trunk/zypper/src/zypper.cc (original)
+++ trunk/zypper/src/zypper.cc Thu Jan 17 14:22:40 2008
@@ -666,7 +666,7 @@
{"agree-to-third-party-licenses", no_argument, 0, 0},
{"debug-solver", no_argument, 0, 0},
{"force-resolution", required_argument, 0, 'R'},
- {"dry-run", no_argument, 0, 'd'},
+ {"dry-run", no_argument, 0, 'D'},
{"help", no_argument, 0, 'h'},
{0, 0, 0, 0}
};
@@ -691,7 +691,7 @@
" See 'man zypper' for more details.\n"
" --debug-solver Create solver test case for debugging\n"
"-R, --force-resolution