Skip to content
Snippets Groups Projects
Commit c8c481da authored by Chris Biow's avatar Chris Biow Committed by Sean Owen
Browse files

Limit help option regex

Added word-boundary delimiters so that embedded text such as "-h" within command line options and values doesn't trigger the usage script and exit.

Author: Chris Biow <chris.biow@10gen.com>

Closes #5816 from cbiow/patch-1 and squashes the following commits:

36b3726 [Chris Biow] Limit help option regex
parent 7630213c
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ rem
set SPARK_HOME=%~dp0..
echo "%*" | findstr " --help -h" >nul
echo "%*" | findstr " \<--help\> \<-h\>" >nul
if %ERRORLEVEL% equ 0 (
call :usage
exit /b 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment