Update args.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-07-26 15:57:03 +10:00 committed by GitHub
parent bb54f73742
commit e0f5bff059
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -623,7 +623,7 @@ mod test {
fn quickinstall_url_matches() { fn quickinstall_url_matches() {
let long_help = Args::command() let long_help = Args::command()
.get_opts() .get_opts()
.find(|opt| opt.get_long() == Some("disable-quick-install-stats")) .find(|opt| opt.get_long() == Some("disable-telemetry"))
.unwrap() .unwrap()
.get_long_help() .get_long_help()
.unwrap() .unwrap()