Skip to content

Commit

Permalink
Fix #39, fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
ameshkov committed Mar 21, 2023
1 parent f84f080 commit e935b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
timeout := 10

if !machineReadable {
os.Stdout.WriteString(fmt.Sprintf("dnslookup v. %s\n", VersionString))
os.Stdout.WriteString(fmt.Sprintf("dnslookup %s\n", VersionString))

if len(os.Args) == 2 && (os.Args[1] == "-v" || os.Args[1] == "--version") {
os.Exit(0)
Expand Down

0 comments on commit e935b51

Please sign in to comment.