Procházet zdrojové kódy

Merge pull request #4937 from petermichaux/master

add example showing alternate syntax for specifying version
Jordi Boggiano před 9 roky
rodič
revize
4c0e163977
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/Composer/Command/CreateProjectCommand.php

+ 2 - 0
src/Composer/Command/CreateProjectCommand.php

@@ -83,6 +83,8 @@ version-controlled installation for developers of your project.
 
 You can also specify the version with the package name using = or : as separator.
 
+<info>php composer.phar create-project vendor/project:version target-directory</info>
+
 To install unstable packages, either specify the version you want, or use the
 --stability=dev (where dev can be one of RC, beta, alpha or dev).