summaryrefslogtreecommitdiff
path: root/completions/xmlwf
diff options
context:
space:
mode:
Diffstat (limited to 'completions/xmlwf')
-rw-r--r--completions/xmlwf12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/xmlwf b/completions/xmlwf
index dd7a5457..9cd0e195 100644
--- a/completions/xmlwf
+++ b/completions/xmlwf
@@ -6,22 +6,22 @@ _xmlwf()
_init_completion || return
case $prev in
- -d)
+ -*d)
_filedir -d
return
;;
- -e)
- COMPREPLY=( $( compgen -W 'US-ASCII UTF-8 UTF-16 ISO-8859-1' \
- -- "$cur" ) )
+ -*e)
+ COMPREPLY=( $(compgen -W 'US-ASCII UTF-8 UTF-16 ISO-8859-1' \
+ -- "$cur") )
return
;;
- -v)
+ -*v)
return
;;
esac
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") )
return
fi