Rename option to --disable-telemetry

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-07-26 00:55:13 +10:00 committed by Jiahao XU
parent 397af7e45c
commit 69cf1504b3
4 changed files with 4 additions and 4 deletions

View file

@ -55,5 +55,5 @@ pub struct Options {
pub registry: Registry,
pub signature_policy: SignaturePolicy,
pub disable_quick_install_stats: bool,
pub disable_telemetry: bool,
}

View file

@ -175,7 +175,7 @@ async fn resolve_inner(
);
}
if !opts.disable_quick_install_stats {
if !opts.disable_telemetry {
for fetcher in &handles {
fetcher.clone().report_to_upstream();
}