Better usage messages for CliHadoopIndexer.

This commit is contained in:
Gian Merlino 2014-08-26 13:29:11 -07:00
parent 953c855410
commit 890ba5a4ca
1 changed files with 2 additions and 2 deletions

View File

@ -54,11 +54,11 @@ public class CliHadoopIndexer implements Runnable
private String argumentSpec; private String argumentSpec;
@Option(name = {"-c", "--coordinate", "hadoopDependencies"}, @Option(name = {"-c", "--coordinate", "hadoopDependencies"},
description = "The maven coordinates to the version of hadoop and all dependencies to run with. Defaults to using org.apache.hadoop:hadoop-client:2.3.0") description = "extra dependencies to pull down (e.g. non-default hadoop coordinates or extra hadoop jars)")
private List<String> coordinates; private List<String> coordinates;
@Option(name = "--no-default-hadoop", @Option(name = "--no-default-hadoop",
description = "don't pull down the default HadoopIndexTask dependencies", description = "don't pull down the default hadoop version (currently org.apache.hadoop:hadoop-client:2.3.0)",
required = false) required = false)
public boolean noDefaultHadoop; public boolean noDefaultHadoop;