ソースを参照

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

Jordi Boggiano 11 年 前
コミット
97f191a7a7
1 ファイル変更4 行追加0 行削除
  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`.