diff --git a/vendor/lib/lib_base.cmd b/vendor/lib/lib_base.cmd index 6ab50e8..37a1072 100644 --- a/vendor/lib/lib_base.cmd +++ b/vendor/lib/lib_base.cmd @@ -3,7 +3,7 @@ set lib_base=call "%~dp0lib_base.cmd" if "%~1" == "/h" ( - %lib_base% help "%0" + %lib_base% help "%~0" ) else if "%1" neq "" ( call :%* ) @@ -16,7 +16,7 @@ exit /b :::. :::include: :::. -::: call "$0" +::: call "lib_base.cmd" :::. :::usage: :::. @@ -27,12 +27,9 @@ exit /b ::: file full path to file containing lib_routines to display :::. :::------------------------------------------------------------------------------- - for /f "tokens=* delims=:" %%a in ('type "%~1" ^| findstr /i /r "^:::"') do ( rem echo a="%%a" - if "%%a"==" " ( - echo. if "%%a"=="." ( echo. ) else if /i "%%a" == "usage" ( diff --git a/vendor/lib/lib_console.cmd b/vendor/lib/lib_console.cmd index d94561b..4de7525 100644 --- a/vendor/lib/lib_console.cmd +++ b/vendor/lib/lib_console.cmd @@ -6,7 +6,7 @@ call "%~dp0lib_base.cmd" set lib_console=call "%~dp0lib_console.cmd" if "%~1" == "/h" ( - %lib_base% help "%0" + %lib_base% help "%~0" ) else if "%1" neq "" ( call :%* ) @@ -19,7 +19,7 @@ exit /b :::. :::include: :::. -::: call "$0" +::: call "lib_console.cmd" :::. :::usage: :::. diff --git a/vendor/lib/lib_git.cmd b/vendor/lib/lib_git.cmd index 19fb98a..d703e58 100644 --- a/vendor/lib/lib_git.cmd +++ b/vendor/lib/lib_git.cmd @@ -7,7 +7,7 @@ set lib_git=call "%~dp0lib_git.cmd" if "%~1" == "/h" ( - %lib_base% help "%0" + %lib_base% help "%~0" ) else if "%1" neq "" ( call :%* ) @@ -20,7 +20,7 @@ exit /b :::. :::include: :::. -::: call "$0" +::: call "lib_git.cmd" :::. :::usage: :::. diff --git a/vendor/lib/lib_path.cmd b/vendor/lib/lib_path.cmd index 7cd08a7..1d8c9e7 100644 --- a/vendor/lib/lib_path.cmd +++ b/vendor/lib/lib_path.cmd @@ -6,7 +6,7 @@ call "%%~dp0lib_console" set lib_path=call "%~dp0lib_path.cmd" if "%~1" == "/h" ( - %lib_base% help "%0" + %lib_base% help "%~0" ) else if "%1" neq "" ( call :%* ) @@ -19,7 +19,7 @@ exit /b ::: :::include: ::: -::: call "$0" +::: call "lib_path.cmd" ::: :::usage: ::: diff --git a/vendor/lib/lib_profile.cmd b/vendor/lib/lib_profile.cmd index 77eebf8..82dbb4a 100644 --- a/vendor/lib/lib_profile.cmd +++ b/vendor/lib/lib_profile.cmd @@ -6,7 +6,7 @@ call "%%~dp0lib_console" set lib_profile=call "%~dp0lib_profile.cmd" if "%~1" == "/h" ( - %lib_base% help "%0" + %lib_base% help "%~0" ) else if "%1" neq "" ( call :%* ) @@ -19,7 +19,7 @@ exit /b ::: :::include: ::: -::: call "$0" +::: call "lib_profile.cmd" ::: :::usage: :::