Skip to content

Commit

Permalink
Update documentation for --force-message
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-traverse committed Jul 26, 2024
1 parent be092bd commit 1bf2632
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Translates between file formats and generates static code.
--force-long Enforces the use of 'Long' for s-/u-/int64 and s-/fixed64 fields.
--force-number Enforces the use of 'number' for s-/u-/int64 and s-/fixed64 fields.
--force-message Enforces the use of message instances instead of plain objects.
--force-message Enforces the use of message instances instead of plain objects for method calls.
usage: pbjs [options] file1.proto file2.json ... (or pipe) other | pbjs [options] -
```
Expand Down
2 changes: 1 addition & 1 deletion cli/pbjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ exports.main = function main(args, callback) {
"",
" --force-long Enforces the use of 'Long' for s-/u-/int64 and s-/fixed64 fields.",
" --force-number Enforces the use of 'number' for s-/u-/int64 and s-/fixed64 fields.",
" --force-message Enforces the use of message instances instead of plain objects.",
" --force-message Enforces the use of message instances instead of plain objects for method calls.",
"",
" --null-defaults Default value for optional fields is null instead of zero value.",
"",
Expand Down

0 comments on commit 1bf2632

Please sign in to comment.