Skip to content

Commit b196116

Browse files
scopakinomyoga
authored andcommitted
refactor(ssh): use comp_args[0] internally recorded
1 parent ecaead8 commit b196116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/ssh

+1-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ _comp_cmd_scp()
575575
else
576576
case $cur in
577577
-*)
578-
_comp_compgen_usage -c "${words[0]}" --usage
578+
_comp_compgen_usage
579579
COMPREPLY=("${COMPREPLY[@]/%/ }")
580580
return
581581
;;

0 commit comments

Comments
 (0)