diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2021-01-30 20:00:41 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2021-01-30 20:00:41 +0000 |
commit | d09e68dc74991ead62496d79a29131c7464fa8f1 (patch) | |
tree | 8a7ee74a0db94e4a10ae2ed48d1c6d41d323dd3a | |
parent | 3d9ce3434df87c65406886e5b33f5cff642ceb4b (diff) |
Test for any argument; add pause statement
git-svn-id: svn://tug.org/texlive/trunk@57562 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/bin/win32/tlmgr.bat | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Master/bin/win32/tlmgr.bat b/Master/bin/win32/tlmgr.bat index 564adbae711..446e39e5c94 100755 --- a/Master/bin/win32/tlmgr.bat +++ b/Master/bin/win32/tlmgr.bat @@ -11,6 +11,9 @@ rem Get TL installation root (w/o trailing backslash) set tlroot=%~dp0:
set tlroot=%tlroot:\bin\win32\:=%
+rem check for any argument
+if x == x%1 goto noargs
+
rem check for gui argument
set args=
@@ -55,6 +58,10 @@ exit /b 1 echo %~nx0: failed to rename "%tlupdater%">&2
exit /b 1
+:noargs
+echo No arguments given!
+
:guibailout
-echo Please use tlshell as a GUI for tlmgr
+echo Use tlshell as a GUI for tlmgr.
+pause
exit /b 1
|