Skip to content

Commit ce26842

Browse files
authored
Fix format of generate docs (#3716)
1 parent aee9553 commit ce26842

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

private/buf/cmd/buf/command/generate/generate.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ func NewCommand(
9696
# Whether to generate code for the well-known types.
9797
# Optional.
9898
include_wkt: false
99-
# Include only these types for this plugin.
99+
# Include only these types for this plugin.
100100
# Optional.
101-
types:
102-
- "foo.v1.User"
103-
# Exclude these types for this plugin.
101+
types:
102+
- "foo.v1.User"
103+
# Exclude these types for this plugin.
104104
# Optional.
105-
exclude_types:
105+
exclude_types:
106106
- "buf.validate.oneof"
107107
- "buf.validate.message"
108108
- "buf.validate.field""
@@ -259,10 +259,10 @@ func NewCommand(
259259
types:
260260
- "foo.v1.User"
261261
- "foo.v1.UserService"
262-
# Exclude these types.
263-
# Optional.
264-
exclude_types:
265-
- "buf.validate"
262+
# Exclude these types.
263+
# Optional.
264+
exclude_types:
265+
- "buf.validate"
266266
# Only generate code for files in these paths.
267267
# If empty, include all paths.
268268
paths:

0 commit comments

Comments
 (0)