瀏覽代碼

Update 04-schema.md

Added example line for how to enable prefer-stable. Some other examples in the document show options enabled using the string "true" and since this is not the case for prefer-stable I added an example to avoid confusion.
erikmaarten 12 年之前
父節點
當前提交
9d10f5c6f0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/04-schema.md

+ 1 - 1
doc/04-schema.md

@@ -513,7 +513,7 @@ and `stable`.
 When this is enabled, Composer will prefer more stable packages over unstable
 When this is enabled, Composer will prefer more stable packages over unstable
 ones when finding compatible stable packages is possible. If you require a
 ones when finding compatible stable packages is possible. If you require a
 dev version or only alphas are available for a package, those will still be
 dev version or only alphas are available for a package, those will still be
-selected granted that the minimum-stability allows for it.
+selected granted that the minimum-stability allows for it. Use `"prefer-stable": true` to enable.
 
 
 ### repositories <span>(root-only)</span>
 ### repositories <span>(root-only)</span>