Skip to content

Commit

Permalink
Fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop committed Dec 24, 2023
1 parent 6de2718 commit 8f714ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/catp/catp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ func Main() error { //nolint:funlen,cyclop,gocognit,gocyclo
ver := flag.Bool("version", false, "print version and exit")

flag.Usage = func() {
fmt.Println("catp", version.Info().Version+",", version.Info().GoVersion, strings.Join(versionExtra, " "))
fmt.Println("catp", version.Module("github.com/bool64/progress").Version+",",
version.Info().GoVersion, strings.Join(versionExtra, " "))

Check notice on line 393 in cmd/catp/catp/app.go

View workflow job for this annotation

GitHub Actions / test (1.21.x)

7 statement(s) on lines 391:402 are not covered by tests.
fmt.Println()
fmt.Println("catp prints contents of files to STDOUT or dir/file output, \n" +
"while printing current progress status to STDERR. \n" +
Expand Down

0 comments on commit 8f714ff

Please sign in to comment.