Skip to content

Commit 1d8842f

Browse files
authored
Fix buf registry modules listing help output (#3475)
1 parent 6942958 commit 1d8842f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

private/buf/cmd/buf/command/registry/module/modulecommit/modulecommitlist/modulecommitlist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ func nextPageCommand(container appext.Container, flags *flags, nextPageToken str
261261
if nextPageToken == "" {
262262
return ""
263263
}
264-
command := fmt.Sprintf("buf registry commit list %s", container.Arg(0))
264+
command := fmt.Sprintf("buf registry module commit list %s", container.Arg(0))
265265
if flags.PageSize != defaultPageSize {
266266
command = fmt.Sprintf("%s --%s %d", command, pageSizeFlagName, flags.PageSize)
267267
}

private/buf/cmd/buf/command/registry/module/modulelabel/modulelabellist/modulelabellist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func nextPageCommand(container appext.Container, flags *flags, nextPageToken str
172172
if nextPageToken == "" {
173173
return ""
174174
}
175-
command := fmt.Sprintf("buf registry label list %s", container.Arg(0))
175+
command := fmt.Sprintf("buf registry module label list %s", container.Arg(0))
176176
if flags.ArchiveStatus != bufcli.DefaultArchiveStatus {
177177
command = fmt.Sprintf("%s --%s %s", command, archiveStatusName, flags.ArchiveStatus)
178178
}

0 commit comments

Comments
 (0)