Skip to content

Commit 1ac0edc

Browse files
authored
Fix doc typos in flag names (#620)
1 parent 2012775 commit 1ac0edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/protobuf_getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ In this command:
163163

164164
* `-generate_fakeroot` creates a root level container `message` which contains all elements at the root. By default, this message is called `Device`. It can be renamed using the `fakeroot_name` command-line flag.
165165
* `-base_import_path` (as described above) specifies the import path that should be used in the generated protobufs. The path used in this example specifies the entire path from `$GOPATH/src`, since this will be the include path supplied to `protoc`.
166-
* `-go_package_name` specifies the base name for the Go packages that are to be generated - this value is included in the `go_package` option of the generated protobufs, and has generated packages' names appended to it.
166+
* `-go_package_base` specifies the base name for the Go packages that are to be generated - this value is included in the `go_package` option of the generated protobufs, and has generated packages' names appended to it.
167167
* `-path` specifies the search path(s) that should be used to find dependencies of the input YANG modules. Multiple directories can be separated with a comma.
168168
* `-output_dir` specifies the directory into which the output files for the schema should be written.
169169
* `-package_name` (as described above) specifies the name of the top-level package that should be created for the output schema.
170-
* `-enum_package` specifies the name that should be used for the package which stores global enumerated values. Such values are generated for:
170+
* `-enum_package_name` specifies the name that should be used for the package which stores global enumerated values. Such values are generated for:
171171
* `identity` statements in the YANG schema.
172172
* `typedef` statements which contain an `enumeration`.
173173
* Finally, the `yang/rib/openconfig-rib-bgp.yang` argument specifies the YANG schema for which the protobufs should be generated.

0 commit comments

Comments
 (0)