Repository: spark Updated Branches: refs/heads/master 7630213ca -> c8c481da1
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 <[email protected]> Closes #5816 from cbiow/patch-1 and squashes the following commits: 36b3726 [Chris Biow] Limit help option regex Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c8c481da Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c8c481da Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c8c481da Branch: refs/heads/master Commit: c8c481da18688e684d4e34f14c5afa0b5d37a618 Parents: 7630213 Author: Chris Biow <[email protected]> Authored: Fri May 1 19:26:55 2015 +0100 Committer: Sean Owen <[email protected]> Committed: Fri May 1 19:26:55 2015 +0100 ---------------------------------------------------------------------- bin/spark-shell2.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c8c481da/bin/spark-shell2.cmd ---------------------------------------------------------------------- diff --git a/bin/spark-shell2.cmd b/bin/spark-shell2.cmd index 02f51fe..00fd30f 100644 --- a/bin/spark-shell2.cmd +++ b/bin/spark-shell2.cmd @@ -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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
