- Java classpath string was not being skipped

This commit is contained in:
ianmacd 2002-12-22 17:29:34 +00:00
parent 649aa46db4
commit d25da79863

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b
#
# $Id: bash_completion,v 1.493 2002/12/21 06:47:34 ianmacd Exp $
# $Id: bash_completion,v 1.494 2002/12/22 18:29:34 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -3131,7 +3131,7 @@ _java()
for ((i=1; i < $COMP_CWORD; i++)); do
case ${COMP_WORDS[$i]} in
-cp|-classpath)
i++ # skip the classpath string.
continue # skip the classpath string.
;;
-*)
# this is an option, not a class/jarfile name.