Improve xmllint --dtdvalid, --relaxng, --schema and --schematron completions.
This commit is contained in:
parent
0f18d2327a
commit
0c44194be2
@ -17,8 +17,24 @@ _xmllint()
|
||||
_filedir
|
||||
return 0
|
||||
;;
|
||||
--path|--dtdvalid|--dtdvalidfpi|--maxmem|--encode|--pattern|\
|
||||
--relaxng|--schema|--schematron)
|
||||
--path|--dtdvalidfpi|--maxmem|--encode|--pattern)
|
||||
# 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
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user