Skip to content

Commit

Permalink
Fix buf registry modules listing help output (#3475)
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane authored Nov 15, 2024
1 parent 6942958 commit 1d8842f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 1d8842f

Please sign in to comment.