Skip to content

Commit

Permalink
Reporting improved, #90 #91
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnesayeed committed Jan 30, 2017
1 parent 7326569 commit b4bb8e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit b4bb8e0

Please sign in to comment.