_parse_help xsltproc overlooks the --norman option >From xsltproc --help: > --profile or --norman : dump profiling informations
This patch fixes the xsltproc completion to manually add it
diff --git a/completions/xsltproc b/completions/xsltproc index 7c38591..fdab18b 100644 --- a/completions/xsltproc +++ b/completions/xsltproc @@ -38,7 +38,7 @@ _xsltproc() return 0 if [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '$( _parse_help "$1" ) --norman' -- "$cur" ) ) COMPREPLY=( "${COMPREPLY[@]%:}" ) else _filedir '@(xsl|xslt|xml)'
_______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel