Print a version to stderr.
This commit is contained in:
parent
ffb401fd9b
commit
0cafa69cab
2
main.go
2
main.go
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user