Skip to content

Commit

Permalink
fix broken --version command
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed May 29, 2023
1 parent fb1544f commit 004d58f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/spot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func main() {
os.Exit(1)
}
if opts.Version {
fmt.Printf("spot %s\n", revision)
os.Exit(0) // already printed
}
setupLog(opts.Dbg)
Expand Down
2 changes: 1 addition & 1 deletion spot.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "SPOT" 1 1.6.2 spot manual
.TH "SPOT" 1 1.6.3 spot manual
.\" Automatically generated by Pandoc 3.1.2
.\"
.\" Define V font for inline verbatim, using C font in formats
Expand Down

0 comments on commit 004d58f

Please sign in to comment.