Forward arguments from batch scripts to bash scripts

This commit is contained in:
Self Not Found 2022-11-24 11:33:59 +08:00 committed by GitHub
commit 2ce9d2a31d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -3,5 +3,5 @@ cd "%~dp0client"
call setup.bat call setup.bat
::If you want to force the COM port add it to the line, example: ::If you want to force the COM port add it to the line, example:
::bash pm3-flash-all COM3 ::bash pm3-flash-all COM3
bash pm3-flash-all bash pm3-flash-all %*
pause pause

View file

@ -3,5 +3,5 @@ cd "%~dp0client"
call setup.bat call setup.bat
::If you want to force the COM port add it to the line, example: ::If you want to force the COM port add it to the line, example:
::bash pm3-flash-bootrom COM3 ::bash pm3-flash-bootrom COM3
bash pm3-flash-bootrom bash pm3-flash-bootrom %*
pause pause

View file

@ -3,5 +3,5 @@ cd "%~dp0client"
call setup.bat call setup.bat
::If you want to force the COM port add it to the line, example: ::If you want to force the COM port add it to the line, example:
::bash pm3-flash-fullimage COM3 ::bash pm3-flash-fullimage COM3
bash pm3-flash-fullimage bash pm3-flash-fullimage %*
pause pause

View file

@ -3,5 +3,5 @@ cd "%~dp0client"
call setup.bat call setup.bat
::If you want to force the COM port use the -p parameter, example: ::If you want to force the COM port use the -p parameter, example:
::bash pm3 -p COM3 ::bash pm3 -p COM3
bash pm3 bash pm3 %*
pause pause