Skip to content

Commit 402a3ff

Browse files
seriousbenjohanbrandhorst
authored andcommitted
fix version spelling
1 parent ee51345 commit 402a3ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protoc-gen-grpc-gateway/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var (
3434
repeatedPathParamSeparator = flag.String("repeated_path_param_separator", "csv", "configures how repeated fields should be split. Allowed values are `csv`, `pipes`, `ssv` and `tsv`.")
3535
allowPatchFeature = flag.Bool("allow_patch_feature", true, "determines whether to use PATCH feature involving update masks (using google.protobuf.FieldMask).")
3636
allowColonFinalSegments = flag.Bool("allow_colon_final_segments", false, "determines whether colons are permitted in the final segment of a path")
37-
versionFlag = flag.Bool("version", false, "print the current verison")
37+
versionFlag = flag.Bool("version", false, "print the current version")
3838
)
3939

4040
// Variables set by goreleaser at build time

protoc-gen-swagger/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var (
2323
mergeFileName = flag.String("merge_file_name", "apidocs", "target swagger file name prefix after merge")
2424
useJSONNamesForFields = flag.Bool("json_names_for_fields", false, "if it sets Field.GetJsonName() will be used for generating swagger definitions, otherwise Field.GetName() will be used")
2525
repeatedPathParamSeparator = flag.String("repeated_path_param_separator", "csv", "configures how repeated fields should be split. Allowed values are `csv`, `pipes`, `ssv` and `tsv`.")
26-
versionFlag = flag.Bool("version", false, "print the current verison")
26+
versionFlag = flag.Bool("version", false, "print the current version")
2727
allowRepeatedFieldsInBody = flag.Bool("allow_repeated_fields_in_body", false, "allows to use repeated field in `body` and `response_body` field of `google.api.http` annotation option")
2828
includePackageInTags = flag.Bool("include_package_in_tags", false, "if unset, the gRPC service name is added to the `Tags` field of each operation. if set and the `package` directive is shown in the proto file, the package name will be prepended to the service name")
2929
useFQNForSwaggerName = flag.Bool("fqn_for_swagger_name", false, "if set, the object's swagger names will use the fully qualify name from the proto definition (ie my.package.MyMessage.MyInnerMessage")

0 commit comments

Comments
 (0)