diff --git a/private/buf/cmd/buf/command/registry/module/modulecommit/modulecommitlist/modulecommitlist.go b/private/buf/cmd/buf/command/registry/module/modulecommit/modulecommitlist/modulecommitlist.go index a0029aaa27..b12c7f000e 100644 --- a/private/buf/cmd/buf/command/registry/module/modulecommit/modulecommitlist/modulecommitlist.go +++ b/private/buf/cmd/buf/command/registry/module/modulecommit/modulecommitlist/modulecommitlist.go @@ -261,7 +261,7 @@ func nextPageCommand(container appext.Container, flags *flags, nextPageToken str if nextPageToken == "" { return "" } - command := fmt.Sprintf("buf registry commit list %s", container.Arg(0)) + command := fmt.Sprintf("buf registry module commit list %s", container.Arg(0)) if flags.PageSize != defaultPageSize { command = fmt.Sprintf("%s --%s %d", command, pageSizeFlagName, flags.PageSize) } diff --git a/private/buf/cmd/buf/command/registry/module/modulelabel/modulelabellist/modulelabellist.go b/private/buf/cmd/buf/command/registry/module/modulelabel/modulelabellist/modulelabellist.go index 65a55f0ffd..c354a3b9c9 100644 --- a/private/buf/cmd/buf/command/registry/module/modulelabel/modulelabellist/modulelabellist.go +++ b/private/buf/cmd/buf/command/registry/module/modulelabel/modulelabellist/modulelabellist.go @@ -172,7 +172,7 @@ func nextPageCommand(container appext.Container, flags *flags, nextPageToken str if nextPageToken == "" { return "" } - command := fmt.Sprintf("buf registry label list %s", container.Arg(0)) + command := fmt.Sprintf("buf registry module label list %s", container.Arg(0)) if flags.ArchiveStatus != bufcli.DefaultArchiveStatus { command = fmt.Sprintf("%s --%s %s", command, archiveStatusName, flags.ArchiveStatus) }