Improve javadoc -overview,-helpfile,-stylesheetfile,-link,-linkoffline completions.
This commit is contained in:
parent
a877567477
commit
ec82c536ed
5
CHANGES
5
CHANGES
@ -14,8 +14,9 @@ bash-completion (2.x)
|
|||||||
* Add *.gif (Alioth: #312512), *.m2t (Alioth: #312770), *.3gpp, *.3gpp2,
|
* Add *.gif (Alioth: #312512), *.m2t (Alioth: #312770), *.3gpp, *.3gpp2,
|
||||||
*.awb, and *.iso (Alioth: #311420) to mplayer filename completions.
|
*.awb, and *.iso (Alioth: #311420) to mplayer filename completions.
|
||||||
* Add "short" tarball extensions to unxz, unlzma etc completions.
|
* Add "short" tarball extensions to unxz, unlzma etc completions.
|
||||||
* Improve /etc/init.d/*, ipmitool, jar, man, mencoder, mkdir, mplayer,
|
* Improve /etc/init.d/*, ipmitool, jar, javadoc, man, mencoder, mkdir,
|
||||||
povray, rpmbuild, sqlite3, wodim, and general help parsing completions.
|
mplayer, povray, rpmbuild, sqlite3, wodim, and general help parsing
|
||||||
|
completions.
|
||||||
* Fix p4 and povray completions (Alioth: #312625).
|
* Fix p4 and povray completions (Alioth: #312625).
|
||||||
* Add *.xsd, *.xsl, *.rng, and *.wsdl to xmllint filename completions.
|
* Add *.xsd, *.xsl, *.rng, and *.wsdl to xmllint filename completions.
|
||||||
* Recognize rpm query mode based on the --file, --group, --package, and
|
* Recognize rpm query mode based on the --file, --group, --package, and
|
||||||
|
@ -176,11 +176,16 @@ _javadoc()
|
|||||||
_get_comp_words_by_ref cur prev
|
_get_comp_words_by_ref cur prev
|
||||||
|
|
||||||
case $prev in
|
case $prev in
|
||||||
-overview|-helpfile|-stylesheetfile)
|
-overview|-helpfile)
|
||||||
_filedir
|
_filedir '?(x)htm?(l)'
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-d)
|
-stylesheetfile)
|
||||||
|
_filedir css
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
-d|-link|-linkoffline)
|
||||||
|
# TODO: -linkoffline takes two arguments
|
||||||
_filedir -d
|
_filedir -d
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user