diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-10-18 22:12:37 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-10-18 22:12:37 +0300 |
commit | 2c83f0ff43c9f908e686889de4c9354d561f4e26 (patch) | |
tree | e54a4791248f0cfa5e39a612ce3d33940eed937c /contrib/java | |
parent | c11af089d658ad99b60314e09a68bdecac819d56 (diff) | |
download | bash-completion-2c83f0ff43c9f908e686889de4c9354d561f4e26.tar.gz |
Remove many unnecessary short option completions where long ones exist.
Diffstat (limited to 'contrib/java')
-rw-r--r-- | contrib/java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/java b/contrib/java index 9b8c95d5..88e91c50 100644 --- a/contrib/java +++ b/contrib/java @@ -151,12 +151,11 @@ _java() if [[ "$cur" == -* ]]; then # relevant options completion COMPREPLY=( $( compgen -W '-client -hotspot -server -classic \ - -cp -classpath -D -verbose -verbose:class \ + -classpath -D -verbose -verbose:class \ -verbose:gc -version:jni -version \ - -showversion -? -help -X -jar \ - -ea -enableassertions -da -disableassertions \ - -esa -enablesystemassertions \ - -dsa -disablesystemassertions ' -- "$cur" ) ) + -showversion -help -X -jar \ + -enableassertions -disableassertions \ + -enablesystemassertions -disablesystemassertions ' -- "$cur" ) ) else if [[ "$prev" == -jar ]]; then # jar file completion @@ -240,9 +239,9 @@ _javac() if [[ "$cur" == -* ]]; then # relevant options completion - COMPREPLY=( $( compgen -W '-g -g:none -g:lines -g:vars\ - -g:source -O -nowarn -verbose -deprecation -classpath\ - -sourcepath -bootclasspath -extdirs -d -encoding -source\ + COMPREPLY=( $( compgen -W '-g -g:none -g:lines -g:vars \ + -g:source -O -nowarn -verbose -deprecation -classpath \ + -sourcepath -bootclasspath -extdirs -d -encoding -source \ -target -help' -- "$cur" ) ) else # source files completion |