- 'File for output. Only a single file may be specified for input.',
- false, true );
- $this->addOption( 'outdir',
- "Directory for output. If this is not specified, and neither is --outfile, then the\n" .
- "output files will be sent to the same directories as the input files.",
- false, true );
- $this->addDescription( "Minify a file or set of files.\n\n" .
- "If --outfile is not specified, then the output file names will have a .min extension\n" .
- "added, e.g. jquery.js -> jquery.min.js."
+ 'Write minified output to this file (instead of standard out).',
+ false, true, 'o'
+ );
+ $this->addOption( 'type',
+ 'Override the input type (one of "js" or "css"). Defaults to file extension. ' .
+ 'Required if reading from standard input.',
+ false, true, 'o'
+ );
+ $this->addArg( 'file', 'Input file. Use - to read from standard input.' );
+ $this->addDescription(
+ "Minify one or more JavaScript or CSS files.\n" .
+ "If multiple input files are given, they will be concatenated."