Browse Source

Fixed the doc to use the new format for versions

Christophe Coevoet 13 years ago
parent
commit
ca5662b143
1 changed files with 4 additions and 3 deletions
  1. 4 3
      doc/02-libraries.md

+ 4 - 3
doc/02-libraries.md

@@ -118,9 +118,10 @@ We do this by adding a package repository specification to the blog's
 
     {
         "name": "acme/blog",
-        "repositories": {
-            "acme/hello-world": {
-                "vcs": { "url": "https://github.com/composer/hello-world" }
+        "repositories": [
+            {
+                "type": "vcs",
+                "url": "https://github.com/composer/hello-world"
             }
         },
         "require": {