Skip to content

Commit cf6a9ef

Browse files
committed
chore: Add sample into README.md about paths=source_relative
1 parent fb8dce5 commit cf6a9ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ code.
143143

144144
**Note**: by default **example.pb.validate.go** is nested in a directory
145145
structure that matches your `option go_package` name. You can change this using
146-
the protoc parameter `paths=source_relative:.`. Then `--validate_out` will
146+
the protoc parameter `paths=source_relative:.`, as like `--validate_out="lang=go,paths=source_relative:../generated"`. Then `--validate_out` will
147147
output the file where it is expected. See Google's protobuf documentation
148148
or [packages and input paths](https://github.com/golang/protobuf#packages-and-input-paths)
149149
or [parameters](https://github.com/golang/protobuf#parameters) for more

0 commit comments

Comments
 (0)