File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ set "textgreen=[32m"
1313set " textred = [31m"
1414set " formatend = [0m"
1515
16- :ArgParser
17- set allargs = %*
18- rem If debug included in args
19- if not " %allargs% " == " %allargs:--debug =% " (set " par_debug=true" )
2016
17+ for %%G in (%* ) DO (if " %%G " == " --debug" (set " par_debug=true" & goto ArgParser))
18+
19+ :ArgParser
2120 set " FLAG = 0"
2221 for %%G in (%* ) DO (
2322 set ARG = %%G
@@ -72,6 +71,7 @@ if defined par_updated-from (
7271 if /i " %par_update% " == " force" (goto AutoUpdate)
7372 echo Error: --update argument invalid ^ (should be ^ (true^ |false^ |force^ )^ ). & exit /b 1
7473 )
74+ if /i " %par_update% " == " force" (goto AutoUpdate)
7575 set /p " updateconfirmation = %icongray% ^ %formatend% Would you like to check for an update? %textgray% [Y/N]%formatend% : "
7676 if /i " %updateconfirmation% " == " n" (goto FFMPEGLocation)
7777 if /i " %updateconfirmation% " == " y" (goto AutoUpdate)
You can’t perform that action at this time.
0 commit comments