Add srcpackage to 'zypper help in' output (bnc #514713).
authorJán Kupec <jkupec@suse.cz>
Thu, 30 Jul 2009 13:53:37 +0000 (15:53 +0200)
committerJán Kupec <jkupec@suse.cz>
Thu, 30 Jul 2009 14:05:43 +0000 (16:05 +0200)
doc/zypper.8
src/Zypper.cc

index 9f67f8d..0c05bbb 100644 (file)
@@ -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
index 7fef72d..a83b087 100644 (file)
@@ -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;
   }