Skip to content

Commit 9445814

Browse files
BryanCutlersrowen
authored andcommitted
[SPARK-7522] [EXAMPLES] Removed angle brackets from dataFormat option
Applying this fix to branch 1.3, mengxr Author: Bryan Cutler <[email protected]> Closes #6111 from BryanCutler/dataFormat-option-1_3-7522 and squashes the following commits: 1a4c814 [Bryan Cutler] [SPARK-7522] Removed angle brackets from dataFormat option
1 parent 5f121fb commit 9445814

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/src/main/scala/org/apache/spark/examples/mllib/DecisionTreeRunner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ object DecisionTreeRunner {
126126
.text(s"input path to test dataset. If given, option fracTest is ignored." +
127127
s" default: ${defaultParams.testInput}")
128128
.action((x, c) => c.copy(testInput = x))
129-
opt[String]("<dataFormat>")
129+
opt[String]("dataFormat")
130130
.text("data format: libsvm (default), dense (deprecated in Spark v1.1)")
131131
.action((x, c) => c.copy(dataFormat = x))
132132
arg[String]("<input>")

examples/src/main/scala/org/apache/spark/examples/mllib/GradientBoostedTreesRunner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ object GradientBoostedTreesRunner {
6868
.text(s"input path to test dataset. If given, option fracTest is ignored." +
6969
s" default: ${defaultParams.testInput}")
7070
.action((x, c) => c.copy(testInput = x))
71-
opt[String]("<dataFormat>")
71+
opt[String]("dataFormat")
7272
.text("data format: libsvm (default), dense (deprecated in Spark v1.1)")
7373
.action((x, c) => c.copy(dataFormat = x))
7474
arg[String]("<input>")

0 commit comments

Comments
 (0)