Skip to content

Commit

Permalink
fix: use multiline for -version, go mod change...
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikbin committed Apr 9, 2022
1 parent 3eba3bf commit 02cbbb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
# vendor/

dist/

## binary files
go-nproc
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/daftcreations/go-nproc

go 1.17
go 1.18
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ func main() {
flag.Parse()

if getVersion {
fmt.Printf("go-nproc v%s (sha: %s) (BuildTime: %s)\n\nWritten by Pratik (github: pratikbin)\n",
fmt.Printf(`go-nproc v%s (sha: %s) (BuildTime: %s)
Written by DaftCreations (github: daftcreations)
`,
Version, CommitSha, BuildTime)
return
}
Expand Down

0 comments on commit 02cbbb6

Please sign in to comment.