completions/cargo: Add --ignore-rust-version

New to 1.85; bypasses MSRV checks specified by `resolver = 3` or in
.cargo/config.toml
This commit is contained in:
Mahmoud Al-Qudsi 2025-01-09 17:06:28 -06:00
parent e3868effe1
commit 0fcb2f7590

View file

@ -767,6 +767,7 @@ complete -c cargo -n "__fish_seen_subcommand_from update" -s v -l verbose -d 'Us
complete -c cargo -n "__fish_seen_subcommand_from update" -l frozen -d 'Require Cargo.lock and cache are up to date'
complete -c cargo -n "__fish_seen_subcommand_from update" -l locked -d 'Require Cargo.lock is up to date'
complete -c cargo -n "__fish_seen_subcommand_from update" -l offline -d 'Run without accessing the network'
complete -c cargo -n "__fish_seen_subcommand_from update" -l ignore-rust-version -d 'Ignore MSRV when checking updates'
complete -c cargo -n "__fish_seen_subcommand_from vendor" -l manifest-path -d 'Path to Cargo.toml'
complete -c cargo -n "__fish_seen_subcommand_from vendor" -s s -l sync -d 'Additional `Cargo.toml` to sync and vendor'
complete -c cargo -n "__fish_seen_subcommand_from vendor" -l color -d 'Coloring: auto, always, never'