Skip to content

Commit 246d5a0

Browse files
Fix usage formatting in webpages command (#3909)
1 parent 4384b63 commit 246d5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private/bufpkg/bufcobra/markdown.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ func writeFlags(f *pflag.FlagSet, writer io.Writer) error {
262262
}
263263
p(" {#%s}", flag.Name)
264264
p("\n")
265-
p(usage)
265+
p("%s", usage)
266266
if flag.NoOptDefVal != "" {
267267
switch flag.Value.Type() {
268268
case "string":

0 commit comments

Comments
 (0)