summaryrefslogtreecommitdiff
path: root/completions/xsltproc
diff options
context:
space:
mode:
Diffstat (limited to 'completions/xsltproc')
-rw-r--r--completions/xsltproc6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/xsltproc b/completions/xsltproc
index 98d3e72a..241de67b 100644
--- a/completions/xsltproc
+++ b/completions/xsltproc
@@ -16,8 +16,8 @@ _xsltproc()
;;
--encoding)
# some aliases removed
- COMPREPLY=( $( compgen -W "$( iconv -l | command sed -e '/^UTF[1378]/d' \
- -e '/^ISO[0-9_]/d' -e '/^8859/d' -e 's/\/.*//')" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W "$(iconv -l | command sed -e '/^UTF[1378]/d' \
+ -e '/^ISO[0-9_]/d' -e '/^8859/d' -e 's/\/.*//')" -- "$cur") )
return
;;
--param|--stringparam)
@@ -37,7 +37,7 @@ _xsltproc()
[[ $cword -gt 2 && `_get_cword '' 2` == --?(string)param ]] && return
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
COMPREPLY=( "${COMPREPLY[@]%:}" )
else
# TODO: 1st file xsl|xslt, 2nd XML