Skip to content

Commit f864bc3

Browse files
authored
Add bash completion for cargo clippy
1 parent b2496f0 commit f864bc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/etc/cargo.bashcomp.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ _cargo()
5454
local opt__check="$opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --profile --target-dir"
5555
local opt__c="$opt__check"
5656
local opt__clean="$opt_common $opt_pkg $opt_mani $opt_lock --target --release --doc --target-dir --profile"
57+
local opt__clippy="$opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --profile --target-dir --no-deps --fix"
5758
local opt__doc="$opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs --message-format --bin --bins --lib --target --open --no-deps --release --document-private-items --target-dir --profile"
5859
local opt__d="$opt__doc"
5960
local opt__fetch="$opt_common $opt_mani $opt_lock --target"

0 commit comments

Comments
 (0)