mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-24 00:00:11 +00:00
Add 'pivpn clients' command to show list of connected clients
This commit is contained in:
parent
43a8a706e2
commit
da5facecbc
5 changed files with 34 additions and 4 deletions
|
@ -4,8 +4,8 @@ _pivpn()
|
|||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
dashopts="-a -d -l -r -h -u"
|
||||
opts="debug add list revoke uninstall help"
|
||||
dashopts="-a -c -d -l -r -h -u"
|
||||
opts="debug add clients list revoke uninstall help"
|
||||
if [ "${#COMP_WORDS[@]}" -eq 2 ]
|
||||
then
|
||||
if [[ ${cur} == -* ]] ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue