Skip to content

Commit

Permalink
fix unrecognized option -v
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniverse committed May 11, 2020
1 parent 6b318d2 commit 25dd6e9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# https://github.com/Aniverse/qbittorrent-nox-static
# Author: Aniverse
script_update=2020.04.05
script_version=r10010
script_update=2020.05.11
script_version=r10011
################################################################################################

usage_guide() {
Expand All @@ -24,10 +24,19 @@ Usage:
-u Username for qBittorrent
-p Password for qBittorrent WebUI
-w WebUI port for qBittorrent
-i Incoming port for qBittorrent"
-i Incoming port for qBittorrent
-v Specify qBittorrent version
available version:
4.1.9.lt.1.1.14
4.2.3.lt.1.1.14
4.2.3.lt.1.2.5
4.2.4.lt.1.1.14
4.2.5.lt.1.2.6
"
exit 1 ; }

OPTS=$(getopt -a -o u:p:w:i:h:l:dh --long "username:,password:,home:,wport:,iPort:,lang:,logbase:,debug,shared,log,help" -- "$@")
OPTS=$(getopt -a -o u:p:w:i:h:l:v:dh --long "username:,password:,home:,wport:,iPort:,lang:,logbase:,version:,debug,shared,log,help" -- "$@")
[ ! $? = 0 ] && show_usage
eval set -- "$OPTS"
while true; do
Expand Down

0 comments on commit 25dd6e9

Please sign in to comment.