ref: refs/heads/master
commit 0e738bd439e2f0e9939bafcf8b9bbaf4e89d2642
Author: Ján Kupec
Date: Thu Jul 30 15:53:37 2009 +0200
Add srcpackage to 'zypper help in' output (bnc #514713).
---
doc/zypper.8 | 3 ++-
src/Zypper.cc | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/zypper.8 b/doc/zypper.8
index 9f67f8d..0c05bbb 100644
--- a/doc/zypper.8
+++ b/doc/zypper.8
@@ -95,7 +95,8 @@ messages to be run or shown during installation of the update.
\- group of packages which are necessary to install a product.
.br
.B srcpackage
-\- source code package (.src.rpm). This type work only in \fBsearch\fR command currently.
+\- source code package (.src.rpm). This type works in \fBsearch\fR and
+ \fBinstall\fR commands.
.LP
Throughout this manual we will refer to resolvables simply as \fIpackages\fR
and to resolvable types as \fIpackage types\fR. These type names can be used
diff --git a/src/Zypper.cc b/src/Zypper.cc
index 7fef72d..a83b087 100644
--- a/src/Zypper.cc
+++ b/src/Zypper.cc
@@ -939,7 +939,7 @@ void Zypper::processCommandOptions()
" an agressive).\n"
"-D, --dry-run Test the installation, do not actually install.\n"
"-d, --download-only Only download the packages, do not install.\n"
- ), "package, patch, pattern, product", "package");
+ ), "package, patch, pattern, product, srcpackage", "package");
break;
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org