Bugfixes and improvements, check update notes

This commit is contained in:
4s3ti 2019-10-12 18:34:37 +02:00
parent d5215e2747
commit 9f20f50e61
4 changed files with 82 additions and 28 deletions

View file

@ -4,8 +4,8 @@ _pivpn()
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
dashopts="-a -c -d -l -r -h -u"
opts="debug add clients list revoke uninstall help"
dashopts="-a -c -d -l -r -h -u -up"
opts="debug add clients list revoke uninstall help update"
if [ "${#COMP_WORDS[@]}" -eq 2 ]
then
if [[ ${cur} == -* ]] ; then