From 1b5e4250415c6169eadb405561242f847d75044b Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Wed, 14 Dec 2016 18:38:27 +0100 Subject: [PATCH] README: Updated pbjs arguments [ci skip] --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1243c8c7c..3bd661d1f 100644 --- a/README.md +++ b/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 ... ```