浏览代码

Docs: versions plural, and update == rm lock&install

Nils Adermann 8 年之前
父节点
当前提交
78565d00b9
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      doc/01-basic-usage.md

+ 3 - 2
doc/01-basic-usage.md

@@ -147,8 +147,9 @@ still working even if your dependencies released many new versions since then.
 As mentioned above, the `composer.lock` file prevents you from automatically getting
 the latest versions of your dependencies. To update to the latest versions, use the
 [`update`](03-cli.md#update) command. This will fetch the latest matching
-versions (according to your `composer.json` file) and also update the lock file
-with the new version. (This is equivalent to simply deleting the `composer.lock` file.)
+versions (according to your `composer.json` file) and update the lock file
+with the new versions. (This is equivalent to deleting the `composer.lock` file
+and running `install` again.)
 
 ```sh
 php composer.phar update