Explorar o código

Clarify composer archive argument optionality

Nils Adermann %!s(int64=12) %!d(string=hai) anos
pai
achega
51135468f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Command/ArchiveCommand.php

+ 1 - 1
src/Composer/Command/ArchiveCommand.php

@@ -46,7 +46,7 @@ The <info>archive</info> command creates an archive of the specified format
 containing the files and directories of the Composer project or the specified
 package in the specified version and writes it to the specified directory.
 
-<info>php composer.phar archive [--format=zip] [--dir=/foo] [package] [version]</info>
+<info>php composer.phar archive [--format=zip] [--dir=/foo] [package [version]]</info>
 
 EOT
             )