1
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

View File

@ -46,7 +46,7 @@ func main() {
flag.Parse() flag.Parse()
if *showVersion { 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) os.Exit(0)
} }