From 0e738bd439e2f0e9939bafcf8b9bbaf4e89d2642 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Kupec?= Date: Thu, 30 Jul 2009 15:53:37 +0200 Subject: [PATCH] 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; } -- 2.7.4