Skip to content

Commit 1b5e425

Browse files
committed
README: Updated pbjs arguments [ci skip]
1 parent 4750e31 commit 1b5e425

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,11 @@ Consolidates imports and converts between file formats.
297297
-t, --target Specifies the target format. Also accepts a path to require a custom target.
298298
299299
json JSON representation
300-
json-module JSON representation as a module (AMD, CommonJS, global)
300+
json-module JSON representation as a module
301301
proto2 Protocol Buffers, Version 2
302302
proto3 Protocol Buffers, Version 3
303303
static Static code without reflection
304-
static-module Static code without reflection as a module (AMD, CommonJS, global)
304+
static-module Static code without reflection as a module
305305
306306
-p, --path Adds a directory to the include path.
307307
@@ -315,6 +315,13 @@ Consolidates imports and converts between file formats.
315315
316316
-r, --root Specifies an alternative protobuf.roots name for *-module targets.
317317
318+
Static code generation only:
319+
320+
--no-encode Does not generate encode functions.
321+
--no-decode Does not generate decode functions.
322+
--no-verify Does not generate verify functions.
323+
--no-delimited Does not generate delimited encode/decode functions.
324+
318325
usage: pbjs [options] file1.proto file2.json ...
319326
```
320327

0 commit comments

Comments
 (0)