Improve xmllint --dtdvalid, --relaxng, --schema and --schematron completions.

This commit is contained in:
Ville Skyttä 2009-07-07 18:50:56 +03:00
parent 0f18d2327a
commit 0c44194be2

View File

@ -17,8 +17,24 @@ _xmllint()
_filedir _filedir
return 0 return 0
;; ;;
--path|--dtdvalid|--dtdvalidfpi|--maxmem|--encode|--pattern|\ --path|--dtdvalidfpi|--maxmem|--encode|--pattern)
--relaxng|--schema|--schematron) # argument required but no completions available
return 0
;;
--dtdvalid)
_filedir dtd
return 0
;;
--relaxng)
_filedir rng
return 0
;;
--schema)
_filedir xsd
return 0
;;
--schematron)
_filedir sch
return 0 return 0
;; ;;
esac esac