few corrections
authorJán Kupec <jkupec@suse.cz>
Thu, 10 Jun 2010 11:05:40 +0000 (13:05 +0200)
committerJán Kupec <jkupec@suse.cz>
Thu, 10 Jun 2010 11:05:40 +0000 (13:05 +0200)
doc/zypper.8
src/utils/misc.cc
src/utils/misc.h

index 571d39a..9bd8abd 100644 (file)
@@ -32,9 +32,9 @@ To specify locations of repositories or other resources (RPM files, .repo
 files) you can use any type of URIs supported by libzypp. See
 http://en.opensuse.org/Libzypp/URI for a complete list and usage examples.
 
-Zypper also accepts special URIs identifying an openSUSE Build Service (OBS)
+Zypper also accepts special URIs identifying openSUSE Build Service (OBS)
 repositories in the \fBaddrepo\fR command. These URIs have the form of
-\fBobs://<project>/<platform>\fR, where \fIproject\fR is the name of the
+\fBobs://<project>/[platform]\fR, where \fIproject\fR is the name of the
 OBS project and \fIplatform\fR is the target platform (OS) for which the
 repository is intended. For example: obs://server:http/openSUSE_11.3.
 
index 21d0670..90c957b 100644 (file)
@@ -281,7 +281,6 @@ Url make_obs_url (
   if (str::regex_match(obsuri, what, obs_uri_rx))
   {
     vector<string> obsrpath;
-    cout << what[1] << endl;
     str::split(what[1], back_inserter(obsrpath), ":");
     if (obsrpath.empty())
     {
index c8c646d..fce9d27 100644 (file)
@@ -70,7 +70,7 @@ zypp::Url make_url (const std::string & url_s);
 zypp::Url make_obs_url(
     const std::string & obsuri,
     const zypp::Url & base_url,
-    const std::string & default_platform = "");
+    const std::string & default_platform = "openSUSE_Factory");
 
 /**
  * Returns <code>true</code> if the string \a s contains a substring starting