Skip to content

Commit

Permalink
Update --help for bin/pyspark
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed May 16, 2014
1 parent afe47bf commit fe4c8a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/pyspark
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ export SPARK_HOME="$FWDIR"

SCALA_VERSION=2.10

if [[ "$@" == *--help* ]]; then
echo "Usage: ./bin/pyspark [python file] [options]"
./bin/spark-submit --help 2>&1 | grep -v Usage 1>&2
exit 0
fi

# Exit if the user hasn't compiled Spark
if [ ! -f "$FWDIR/RELEASE" ]; then
# Exit if the user hasn't compiled Spark
Expand Down

0 comments on commit fe4c8a7

Please sign in to comment.