@@ -31,7 +31,7 @@ exports.main = function(args) {
3131 paths = typeof argv . path === 'string' ? [ argv . path ] : argv . path || [ ] ;
3232
3333 if ( ! files . length ) {
34- var descriptions = Object . keys ( targets ) . filter ( function ( key ) { return ! targets [ key ] . private ; } ) . map ( function ( key ) {
34+ var descs = Object . keys ( targets ) . filter ( function ( key ) { return ! targets [ key ] . private ; } ) . map ( function ( key ) {
3535 return " " + util . pad ( key , 14 , true ) + targets [ key ] . description ;
3636 } ) ;
3737 console . log ( [
@@ -41,13 +41,17 @@ exports.main = function(args) {
4141 "" ,
4242 " -t, --target Specifies the target format. Also accepts a path to require a custom target." ,
4343 "" ,
44- descriptions . join ( '\n' ) ,
44+ descs . join ( '\n' ) ,
4545 "" ,
4646 " -p, --path Adds a directory to the include path." ,
4747 "" ,
4848 " -o, --out Saves to a file instead of writing to stdout." ,
4949 "" ,
50- " -w, --wrap Specifies an alternative wrapper for *-module targets." ,
50+ " -w, --wrap Specifies the wrapper to use for *-module targets. Also accepts a path." ,
51+ "" ,
52+ " default Default wrapper supporting both CommonJS and AMD" ,
53+ " commonjs CommonJS only wrapper" ,
54+ " amd AMD only wrapper" ,
5155 "" ,
5256 " -r, --root Specifies an alternative protobuf.roots name for *-module targets." ,
5357 "" ,
0 commit comments