Skip to content

Commit 4d8feb6

Browse files
committed
Clarify run-as-admin error message
1 parent cb52ef7 commit 4d8feb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chmac.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
:: Script: ChMac
44
:: Filename: chmac.bat
5-
:: Version: 2.0
6-
:: Last Modified: 17/06/2020
5+
:: Version: 2.0 (2.0.0.3)
6+
:: Last Modified: 21/06/2020
77
:: Creation Date: 24/01/2010
88
:: Author: wandersick
99
@@ -169,9 +169,9 @@ if %errorlevel% EQU 0 (
169169
goto :EOF
170170
)
171171
) else if /i "%~1" NEQ "/l" (
172-
REM /l does not require admin rights
172+
REM /l, /? and /help do not require admin rights, while the rest do
173173
echo.
174-
echo ** WARNING: Script running without admin rights. Cannot continue.
174+
echo ** ChMac requires admin rights for certain features. Please run as admin.
175175
echo.
176176
pause
177177
goto :EOF

0 commit comments

Comments
 (0)