Skip to content

Commit

Permalink
Replace "package" with "module" in estimate output where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
n-peugnet committed Jan 7, 2025
1 parent 3f1c7ba commit e0737f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions estimate.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func estimate(importpath string) error {
log.Printf("%s is already fully packaged in Debian", importpath)
return nil
}
log.Printf("Bringing %s to Debian requires packaging the following Go packages:", importpath)
log.Printf("Bringing %s to Debian requires packaging the following Go modules:", importpath)
for _, line := range lines {
fmt.Println(line)
}
Expand All @@ -242,8 +242,8 @@ func execEstimate(args []string) {
fs := flag.NewFlagSet("estimate", flag.ExitOnError)

fs.Usage = func() {
fmt.Fprintf(os.Stderr, "Usage: %s estimate <go-package-importpath>\n", os.Args[0])
fmt.Fprintf(os.Stderr, "Estimates the work necessary to bring <go-package-importpath> into Debian\n"+
fmt.Fprintf(os.Stderr, "Usage: %s estimate <go-module-importpath>\n", os.Args[0])
fmt.Fprintf(os.Stderr, "Estimates the work necessary to bring <go-module-importpath> into Debian\n"+
"by printing all currently unpacked repositories.\n")
fmt.Fprintf(os.Stderr, "Example: %s estimate github.com/Debian/dh-make-golang\n", os.Args[0])
}
Expand Down

0 comments on commit e0737f9

Please sign in to comment.