Github user ScrapCodes commented on a diff in the pull request:
https://github.com/apache/spark/pull/1050#discussion_r13794758
--- Diff: bin/run-example ---
@@ -27,10 +27,12 @@ if [ -n "$1" ]; then
EXAMPLE_CLASS="$1"
shift
else
- echo "Usage: ./bin/run-example <example-class> [example-args]"
- echo " - set MASTER=XX to use a specific master"
- echo " - can use abbreviated example class name (e.g. SparkPi,
mllib.LinearRegression)"
- exit 1
+cat <<EOF 1>&2
+ Usage: ./bin/run-example <example-class> [example-args]
--- End diff --
If I indent the contents of this EOF block, then those indentation will
become part of the string that gets printed on the screen. I can still do it,
if you think ? But I think some people will object to that.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---