Skip to content

Commit

Permalink
README: Updated pbjs arguments [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Dec 14, 2016
1 parent 4750e31 commit 1b5e425
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 ...
```

Expand Down

0 comments on commit 1b5e425

Please sign in to comment.