From 7bd2c228db99942f19dcb038e879888005da3ec1 Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Fri, 28 Mar 2025 19:30:54 +0100 Subject: [PATCH] Fix format of generate docs --- .../buf/cmd/buf/command/generate/generate.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/private/buf/cmd/buf/command/generate/generate.go b/private/buf/cmd/buf/command/generate/generate.go index 3beaf10098..84aec78f71 100644 --- a/private/buf/cmd/buf/command/generate/generate.go +++ b/private/buf/cmd/buf/command/generate/generate.go @@ -96,13 +96,13 @@ func NewCommand( # Whether to generate code for the well-known types. # Optional. include_wkt: false - # Include only these types for this plugin. + # Include only these types for this plugin. # Optional. - types: - - "foo.v1.User" - # Exclude these types for this plugin. + types: + - "foo.v1.User" + # Exclude these types for this plugin. # Optional. - exclude_types: + exclude_types: - "buf.validate.oneof" - "buf.validate.message" - "buf.validate.field"" @@ -259,10 +259,10 @@ func NewCommand( types: - "foo.v1.User" - "foo.v1.UserService" - # Exclude these types. - # Optional. - exclude_types: - - "buf.validate" + # Exclude these types. + # Optional. + exclude_types: + - "buf.validate" # Only generate code for files in these paths. # If empty, include all paths. paths: