From 1d8842f11aa014f3caaaaa4ad62d9c762f7de77c Mon Sep 17 00:00:00 2001 From: Edward McFarlane <3036610+emcfarlane@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:39:20 -0500 Subject: [PATCH] Fix buf registry modules listing help output (#3475) --- .../module/modulecommit/modulecommitlist/modulecommitlist.go | 2 +- .../module/modulelabel/modulelabellist/modulelabellist.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) }