mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
Add a version in 'pivpn -v'
This commit is contained in:
parent
3d4a005067
commit
0c7905dc3c
1 changed files with 5 additions and 0 deletions
5
pivpn
5
pivpn
|
@ -40,6 +40,10 @@ function uninstallFunc {
|
|||
exit 1
|
||||
}
|
||||
|
||||
function versionFunc {
|
||||
printf "\e[1mVersion 1.0\e[0m\n"
|
||||
}
|
||||
|
||||
function helpFunc {
|
||||
echo "::: Control all PiVPN specific functions!"
|
||||
echo ":::"
|
||||
|
@ -67,5 +71,6 @@ case "$1" in
|
|||
"-r" | "revoke" ) removeOVPNFunc;;
|
||||
"-h" | "help" ) helpFunc;;
|
||||
"-u" | "uninstall" ) uninstallFunc;;
|
||||
"-v" ) versionFunc;;
|
||||
* ) helpFunc;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue