File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ set "formatend=[0m"
1717 for %%G in (%* ) DO (
1818 set ARG = %%G
1919 rem if FLAG, record the flag name
20- echo !ARG! | findstr " \--" > nul && (
20+ echo !ARG! | findstr " \--" > nul && (
2121 if not [" !FLAG! " ]== [" 0" ] ( rem Check if FLAG is set - if it is, then previous was a boolean.
2222 echo set !FLAG! =true
2323 set " !FLAG! = true"
@@ -26,21 +26,18 @@ set "formatend=[0m"
2626 set " FLAG = !ARG_NAME! "
2727 ) || (
2828 set " par_!FLAG! = !ARG! "
29- echo set par_!FLAG! =!ARG!
3029 set " FLAG = 0"
3130 )
3231 )
3332
3433 if not [" !FLAG! " ]== [" 0" ] ( rem Final boolean catch
35- echo set par_!FLAG! =true
3634 set " par_!FLAG! = true"
3735 )
3836
3937
4038if defined par_updated-from (
41- echo Just updated^^! Running cleanup...
42- timeout 2
43- pause
39+ echo %icongray% ^^! %formatend% Just updated^^! Running cleanup...
40+ timeout /nobreak 2 > nul
4441 rem ↓ special format to remove " from string
4542 del " %par_updated-from:" =% "
4643)
You can’t perform that action at this time.
0 commit comments