xmlwf: Use _parse_usage, add -v non-completion.
This commit is contained in:
parent
08a4c0eff5
commit
f9293cd3e8
@ -17,11 +17,13 @@ _xmlwf()
|
||||
ISO-8859-1' -- "$cur" ) )
|
||||
return 0
|
||||
;;
|
||||
-v)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '-c -d -e -m -n -p -r -s -t -v -w \
|
||||
-x' -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user