From 87b8309d0a535a4f33b1e4f51c27ef517d9403f6 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi Date: Wed, 23 Oct 2019 13:29:35 -0700 Subject: [PATCH] fix invocation in samplegen readme (#241) remove the extra `-desc` flag. --- cmd/gen-go-sample/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/gen-go-sample/README.md b/cmd/gen-go-sample/README.md index e19ddcca5..97199c023 100644 --- a/cmd/gen-go-sample/README.md +++ b/cmd/gen-go-sample/README.md @@ -35,8 +35,7 @@ gen-go-sample \ -o [OUTPUT_DIR] \ -desc 'path/to/proto/descriptor.desc' \ -sample path/to/sample.yaml \ - -sample path/to/another_sample.yaml \ - -desc 'path/to/proto/descriptor.desc' + -sample path/to/another_sample.yaml ``` Or to generate the descriptor files on the fly, run