Permalink
Browse files

README: Updated pbjs arguments [ci skip]

  • Loading branch information...
dcodeIO committed Dec 14, 2016
1 parent 4750e31 commit 1b5e4250415c6169eadb405561242f847d75044b
Showing with 9 additions and 2 deletions.
  1. +9 −2 README.md
@@ -297,11 +297,11 @@ Consolidates imports and converts between file formats.
-t, --target Specifies the target format. Also accepts a path to require a custom target.
json JSON representation
json-module JSON representation as a module (AMD, CommonJS, global)
json-module JSON representation as a module
proto2 Protocol Buffers, Version 2
proto3 Protocol Buffers, Version 3
static Static code without reflection
static-module Static code without reflection as a module (AMD, CommonJS, global)
static-module Static code without reflection as a module
-p, --path Adds a directory to the include path.
@@ -315,6 +315,13 @@ Consolidates imports and converts between file formats.
-r, --root Specifies an alternative protobuf.roots name for *-module targets.
Static code generation only:
--no-encode Does not generate encode functions.
--no-decode Does not generate decode functions.
--no-verify Does not generate verify functions.
--no-delimited Does not generate delimited encode/decode functions.
usage: pbjs [options] file1.proto file2.json ...
```

0 comments on commit 1b5e425

Please sign in to comment.