From 73d6b550e5e3d335aa8ce0b5ff1e4975a8a72c81 Mon Sep 17 00:00:00 2001 From: Sarath Date: Fri, 13 Nov 2020 10:57:01 -0500 Subject: [PATCH] Replace ooni with ooniprobe in example usage (#163) --- internal/log/handlers/cli/results.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/log/handlers/cli/results.go b/internal/log/handlers/cli/results.go index b6194dc..1850f4b 100644 --- a/internal/log/handlers/cli/results.go +++ b/internal/log/handlers/cli/results.go @@ -84,7 +84,7 @@ func makeSummary(name string, totalCount uint64, anomalyCount uint64, ss string) func logResultItem(w io.Writer, f log.Fields) error { colWidth := 24 - +Try running rID := f.Get("id").(int64) name := f.Get("name").(string) isDone := f.Get("is_done").(bool) @@ -141,7 +141,7 @@ func logResultSummary(w io.Writer, f log.Fields) error { if tests == 0 { fmt.Fprintf(w, "No results\n") fmt.Fprintf(w, "Try running:\n") - fmt.Fprintf(w, " ooni run websites\n") + fmt.Fprintf(w, " ooniprobe run websites\n") return nil } // └┬──────────────┬─────────────┬───────────────┬