Skip to content

Commit 4a267f0

Browse files
authored
Merge pull request #130 from pelazas/ux/shorter-telemetry-prompt
Shorten the first-run telemetry prompt
2 parents a9c5424 + e73f5a4 commit 4a267f0

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

src/telemetry.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,8 @@ pub fn consent() -> Consent {
282282
/// by reflex, and the honest way to raise a yes rate is to make the ask small
283283
/// and the reason plain, not to skip it.
284284
pub const PROMPT: &str = "\
285-
p2pmux can send one anonymous line a day: a random id, the version, the OS, how
286-
many sessions you started, whether anybody joined one, and nothing else. No
287-
hostnames, no directories, no session names, nothing you typed. Terminal traffic
288-
never goes near it — that stays peer to peer.
289-
290-
It is how a project with no analytics finds out whether anyone came back.
291-
292-
p2pmux telemetry show print the exact line this machine would send
293-
p2pmux telemetry off stop sending it, any time
285+
p2pmux can send anonymous usage information to help improve the product.
286+
Terminal traffic is never sent, that stays peer to peer.
294287
295288
Send it? [Y/n] ";
296289

@@ -336,7 +329,7 @@ pub fn ask_once() {
336329
stderr,
337330
"{}\n",
338331
match answer {
339-
Consent::Granted => "Thanks — one line a day. `p2pmux telemetry off` stops it.",
332+
Consent::Granted => "p2pmux telemetry off stops it.",
340333
_ => "Nothing will be sent.",
341334
}
342335
);

0 commit comments

Comments
 (0)