Skip to content

Commit

Permalink
Use build version string
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Apr 20, 2023
1 parent e719092 commit a88fc7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/scala/uk/co/gresearch/spark/diff/App.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ object App {
diffOptions: DiffOptions = DiffOptions.default)

// read options from args
val parser: OptionParser[Options] = new scopt.OptionParser[Options]("spark-extension_2.12-2.7.0-3.5-SNAPSHOT.jar") {
head("Spark Diff app (2.7.0-3.3-SNAPSHOT)")
val programName = s"spark-extension_${spark.BuildScalaCompatVersionString}-${spark.VersionString}.jar"
val parser: OptionParser[Options] = new scopt.OptionParser[Options](programName) {
head(s"Spark Diff app (${spark.VersionString})")
head()

arg[String]("left")
Expand Down

0 comments on commit a88fc7e

Please sign in to comment.