Skip to content

Commit 59e4981

Browse files
committed
Altered cleanup message
1 parent 6ff3b22 commit 59e4981

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

batch encoder.bat

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set "formatend="
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="
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

4038
if 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
)

0 commit comments

Comments
 (0)