@@ -69,7 +69,7 @@ exports.main = function main(args, callback) {
6969
7070 if ( ! files . length ) {
7171 var descs = Object . keys ( targets ) . filter ( function ( key ) { return ! targets [ key ] . private ; } ) . map ( function ( key ) {
72- return " " + util . pad ( key , 14 , true ) + targets [ key ] . description ;
72+ return " " + util . pad ( key , 14 , true ) + targets [ key ] . description ;
7373 } ) ;
7474 if ( callback )
7575 callback ( Error ( "usage" ) ) ; // eslint-disable-line callback-return
@@ -89,15 +89,15 @@ exports.main = function main(args, callback) {
8989 "" ,
9090 " --sparse Exports only those types referenced from a main file (experimental)." ,
9191 "" ,
92- chalk . bold . gray ( " Module targets only:" ) ,
92+ chalk . bold . gray ( " Module targets only:" ) ,
9393 "" ,
9494 " -w, --wrap Specifies the wrapper to use. Also accepts a path to require a custom wrapper." ,
9595 "" ,
9696 " default Default wrapper supporting both CommonJS and AMD" ,
9797 " commonjs CommonJS wrapper" ,
9898 " amd AMD wrapper" ,
9999 " es6 ES6 wrapper (implies --es6)" ,
100- " closure Just a closure adding to protobuf.roots (see -r) " ,
100+ " closure A closure adding to protobuf.roots where protobuf is a global " ,
101101 "" ,
102102 " -r, --root Specifies an alternative protobuf.roots name." ,
103103 "" ,
@@ -107,11 +107,11 @@ exports.main = function main(args, callback) {
107107 "" ,
108108 " --es6 Enables ES6 syntax (const/let instead of var)" ,
109109 "" ,
110- chalk . bold . gray ( " Proto sources only:" ) ,
110+ chalk . bold . gray ( " Proto sources only:" ) ,
111111 "" ,
112112 " --keep-case Keeps field casing instead of converting to camel case." ,
113113 "" ,
114- chalk . bold . gray ( " Static targets only:" ) ,
114+ chalk . bold . gray ( " Static targets only:" ) ,
115115 "" ,
116116 " --no-create Does not generate create functions used for reflection compatibility." ,
117117 " --no-encode Does not generate encode functions." ,
@@ -125,7 +125,7 @@ exports.main = function main(args, callback) {
125125 " --force-long Enfores the use of 'Long' for s-/u-/int64 and s-/fixed64 fields." ,
126126 " --force-message Enfores the use of message instances instead of plain objects." ,
127127 "" ,
128- "usage: " + chalk . bold . green ( "pbjs" ) + " [options] file1.proto file2.json ..." + chalk . gray ( " (or) " ) + "other | " + chalk . bold . green ( "pbjs" ) + " [options] -" ,
128+ "usage: " + chalk . bold . green ( "pbjs" ) + " [options] file1.proto file2.json ..." + chalk . gray ( " (or pipe ) " ) + "other | " + chalk . bold . green ( "pbjs" ) + " [options] -" ,
129129 ""
130130 ] . join ( "\n" ) ) ;
131131 return 1 ;
0 commit comments