瀏覽代碼

Clarify composer archive argument optionality

Nils Adermann 12 年之前
父節點
當前提交
51135468f0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
             )