From b4bb8e04d82e68700c9cd6d859b4d8b338125e68 Mon Sep 17 00:00:00 2001 From: Sawood Alam Date: Sun, 29 Jan 2017 19:56:02 -0500 Subject: [PATCH] Reporting improved, #90 #91 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8a5c7e3..971ec56 100644 --- a/main.go +++ b/main.go @@ -755,7 +755,7 @@ func overrideFlags() { } func serviceInfo() (msg string) { - msg = fmt.Sprintf("TimeMap : %s/timemap/{FORMAT}/{URI-R}\nTimeGate : %s/timegate/{URI-R} [Accept-Datetime]\nMemento : %s/memento[/{FORMAT}]/{DATETIME}/{URI-R}\n", baseURL, baseURL, baseURL) + msg = fmt.Sprintf("TimeMap : %s/timemap/{FORMAT}/{URI-R}\nTimeGate : %s/timegate/{URI-R} [Accept-Datetime]\nMemento : %s/memento[/{FORMAT}|proxy]/{DATETIME}/{URI-R}\n", baseURL, baseURL, baseURL) if *monitor { msg += fmt.Sprintf("Benchmark : %s/monitor [SSE]\n", baseURL) } @@ -865,7 +865,7 @@ func main() { fmt.Printf(appInfo()) fmt.Printf(serviceInfo()) if *agent == fmt.Sprintf("%s:%s <@WebSciDL>", Name, Version) && !*spoof { - fmt.Printf("\nATTENTION: Please consider customizing the contact handle or the user-agent!\n") + fmt.Printf("\nATTENTION: Please consider customizing the contact info or the whole user-agent!\nCurrent user-agent: %s\nCheck CLI help (memgator --help) for options.\n", *agent) } if *monitor { broker = sse.NewServer()