Skip to content

Commit a3ae668

Browse files
committed
Auto merge of #10798 - scop:patch-1, r=ehuss
fix: bash complete `install --path` with dirs `--path` takes a mandatory dir argument.
2 parents dbff32b + ca08dad commit a3ae668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/cargo.bashcomp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ _cargo()
138138
--target)
139139
COMPREPLY=( $( compgen -W "$(_get_targets)" -- "$cur" ) )
140140
;;
141-
--target-dir)
141+
--target-dir|--path)
142142
_filedir -d
143143
;;
144144
help)

0 commit comments

Comments
 (0)