You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/protobuf_getting_started.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,11 +163,11 @@ In this command:
163
163
164
164
*`-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.
165
165
*`-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.
167
167
*`-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.
168
168
*`-output_dir` specifies the directory into which the output files for the schema should be written.
169
169
*`-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:
171
171
* `identity` statements in the YANG schema.
172
172
* `typedef` statements which contain an `enumeration`.
173
173
* Finally, the `yang/rib/openconfig-rib-bgp.yang` argument specifies the YANG schema for which the protobufs should be generated.
0 commit comments