Browse Source

Merge pull request #8855 from naderman/document-update-mirrors-lock-nothing

Documentation: Clarify composer update mirrors/nothing/lock
Jordi Boggiano 4 years ago
parent
commit
54d8cbe5f8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      doc/03-cli.md

+ 2 - 0
doc/03-cli.md

@@ -174,6 +174,8 @@ php composer.phar update "vendor/*"
 * **--interactive:** Interactive interface with autocompletion to select the packages to update.
 * **--root-reqs:** Restricts the update to your first degree dependencies.
 
+Specifying one of the words `mirrors`, `lock`, or `nothing` as an argument has the same effect as specifying the option `--lock`, for example `composer update mirrors` is exactly the same as `composer update --lock`.
+
 ## require
 
 The `require` command adds new packages to the `composer.json` file from