diff options
-rw-r--r-- | tls-getcerts.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tls-getcerts.go b/tls-getcerts.go index d386b90..71fb8f4 100644 --- a/tls-getcerts.go +++ b/tls-getcerts.go @@ -168,6 +168,7 @@ func split(socket string) (net, addr string) { func main() { for _, socket := range os.Args[1:] { + fmt.Fprintf(os.Stderr, "Getting %q... ", socket) block := pem.Block{ Type: "CERTIFICATE", Headers: map[string]string{"X-Socket": socket}, @@ -181,5 +182,6 @@ func main() { block.Headers["X-Error"] = err.Error() } pem.Encode(os.Stdout, &block) + fmt.Fprintln(os.Stderr, "[done]") } } |