1
0
Fork 0

Print a version to stderr.

This commit is contained in:
Alexander Andreev 2024-01-13 04:03:29 +04:00
parent ffb401fd9b
commit 0cafa69cab
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ func main() {
flag.Parse()
if *showVersion {
fmt.Println("httpprocprobed ver.", version, "\nCopyright (c) 2021-2023 Alexander \"Arav\" Andreev <me@arav.su>")
fmt.Fprintln(os.Stderr, "httpprocprobed ver.", version, "\nCopyright (c) 2021-2023 Alexander \"Arav\" Andreev <me@arav.su>")
os.Exit(0)
}