Browse Source

Add --ignore-platform-reqs to docs, refs #3320

Jordi Boggiano 10 years ago
parent
commit
97f191a7a7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      doc/03-cli.md

+ 4 - 0
doc/03-cli.md

@@ -80,6 +80,8 @@ resolution.
   servers and other use cases where you typically do not run updates of the
   servers and other use cases where you typically do not run updates of the
   vendors. It is also a way to circumvent problems with git if you do not
   vendors. It is also a way to circumvent problems with git if you do not
   have a proper setup.
   have a proper setup.
+* **--ignore-platform-reqs:** ignore `php`, `hhvm` and `ext-*` requirements
+  and force the installation even if the local machine does not fulfill these.
 * **--dry-run:** If you want to run through an installation without actually
 * **--dry-run:** If you want to run through an installation without actually
   installing a package, you can use `--dry-run`. This will simulate the
   installing a package, you can use `--dry-run`. This will simulate the
   installation and show you what would happen.
   installation and show you what would happen.
@@ -121,6 +123,8 @@ php composer.phar update vendor/*
 
 
 * **--prefer-source:** Install packages from `source` when available.
 * **--prefer-source:** Install packages from `source` when available.
 * **--prefer-dist:** Install packages from `dist` when available.
 * **--prefer-dist:** Install packages from `dist` when available.
+* **--ignore-platform-reqs:** ignore `php`, `hhvm` and `ext-*` requirements
+  and force the installation even if the local machine does not fulfill these.
 * **--dry-run:** Simulate the command without actually doing anything.
 * **--dry-run:** Simulate the command without actually doing anything.
 * **--dev:** Install packages listed in `require-dev` (this is the default behavior).
 * **--dev:** Install packages listed in `require-dev` (this is the default behavior).
 * **--no-dev:** Skip installing packages listed in `require-dev`.
 * **--no-dev:** Skip installing packages listed in `require-dev`.