@@ -41,7 +41,7 @@ exports.main = function main(args, callback) {
41
41
"force-message" : "strict-message"
42
42
} ,
43
43
string : [ "target" , "out" , "path" , "wrap" , "dependency" , "root" , "lint" , "filter" ] ,
44
- boolean : [ "create" , "encode" , "decode" , "verify" , "convert" , "delimited" , "typeurl" , "beautify" , "comments" , "service" , "es6" , "sparse" , "keep-case" , "alt-comment" , "force-long" , "force-number" , "force-enum-string" , "force-message" , "null-semantics " , "null-defaults " ] ,
44
+ boolean : [ "create" , "encode" , "decode" , "verify" , "convert" , "delimited" , "typeurl" , "beautify" , "comments" , "service" , "es6" , "sparse" , "keep-case" , "alt-comment" , "force-long" , "force-number" , "force-enum-string" , "force-message" , "null-defaults " , "null-semantics " ] ,
45
45
default : {
46
46
target : "json" ,
47
47
create : true ,
@@ -62,8 +62,8 @@ exports.main = function main(args, callback) {
62
62
"force-number" : false ,
63
63
"force-enum-string" : false ,
64
64
"force-message" : false ,
65
- "null-semantics " : false ,
66
- "null-defaults " : false
65
+ "null-defaults " : false ,
66
+ "null-semantics " : false
67
67
}
68
68
} ) ;
69
69
@@ -148,8 +148,8 @@ exports.main = function main(args, callback) {
148
148
" --force-number Enforces the use of 'number' for s-/u-/int64 and s-/fixed64 fields." ,
149
149
" --force-message Enforces the use of message instances instead of plain objects." ,
150
150
"" ,
151
- " --null-semantics Make nullable fields match protobuf semantics (including the optional keyword) " ,
152
- " --null-defaults Default value for optional fields is null instead of zero value (no effect if --null-semantics is specified) " ,
151
+ " --null-defaults Default value for optional fields is null instead of zero value. " ,
152
+ " --null-semantics Make nullable fields match protobuf semantics (overrides --null-defaults). " ,
153
153
"" ,
154
154
"usage: " + chalk . bold . green ( "pbjs" ) + " [options] file1.proto file2.json ..." + chalk . gray ( " (or pipe) " ) + "other | " + chalk . bold . green ( "pbjs" ) + " [options] -" ,
155
155
""
0 commit comments