Replace ooni with ooniprobe in example usage (#163)

This commit is contained in:
Sarath 2020-11-13 10:57:01 -05:00 committed by GitHub
parent 3733e551e1
commit 73d6b550e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
// └┬──────────────┬─────────────┬───────────────┬