Skip to content

Commit

Permalink
Merge pull request #27 from puuj/master
Browse files Browse the repository at this point in the history
Fix spelling of output in CLI options
  • Loading branch information
jkinkead committed Apr 20, 2017
2 parents 3196adf + 688d099 commit 05ec529
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scala/edu/knowitall/chunkedextractor/Relnoun.scala
Expand Up @@ -739,6 +739,10 @@ object Relnoun {
opt[String]("ouput-file") action { (string, config) =>
val file = new File(string)
config.copy(outputFile = Some(file))
} text ("output file (deprecated)")
opt[String]("output-file") action { (string, config) =>
val file = new File(string)
config.copy(outputFile = Some(file))
} text ("output file")
opt[String]("encoding") action { (string, config) =>
config.copy(encoding = string)
Expand Down
4 changes: 4 additions & 0 deletions src/main/scala/edu/knowitall/openie/OpenIECli.scala
Expand Up @@ -131,6 +131,10 @@ object OpenIECli extends App {
opt[String]("ouput-file") action { (string, config) =>
val file = new File(string)
config.copy(outputFile = Some(file))
} text ("output file (deprecated)")
opt[String]("output-file") action { (string, config) =>
val file = new File(string)
config.copy(outputFile = Some(file))
} text ("output file")
opt[String]("parser-server") action { (string, config) =>
config.copy(parserServer = Some(new URL(string)))
Expand Down
4 changes: 4 additions & 0 deletions src/main/scala/edu/knowitall/srlie/SrlExtractor.scala
Expand Up @@ -80,6 +80,10 @@ object SrlExtractor extends App {
opt[String]("ouput file") action { (string, config) =>
val file = new File(string)
config.copy(outputFile = Some(file))
} text ("output file (deprecated)")
opt[String]("output file") action { (string, config) =>
val file = new File(string)
config.copy(outputFile = Some(file))
} text ("output file")
opt[String]("gold") action { (string, config) =>
val file = new File(string)
Expand Down

0 comments on commit 05ec529

Please sign in to comment.