diff --git a/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java b/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java index 61c5ab6..09c4268 100644 --- a/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java +++ b/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java @@ -55,12 +55,12 @@ public CliOptionsProcessor() { // Substitution option -d, --define options.addOption(OptionBuilder.withValueSeparator().hasArgs(2).withArgName("key=value") - .withLongOpt("define").withDescription("Variable subsitution to apply to hive commands. e" + + .withLongOpt("define").withDescription("Variable substitution to apply to Hive commands. e" + ".g. -d A=B or --define A=B").create('d')); // Substitution option --hivevar options.addOption(OptionBuilder.withValueSeparator().hasArgs(2).withArgName("key=value") - .withLongOpt("hivevar").withDescription("Variable subsitution to apply to hive commands. " + + .withLongOpt("hivevar").withDescription("Variable substitution to apply to Hive commands. " + "e.g. --hivevar A=B").create()); // [-S|--silent] diff --git a/bin/ext/help.cmd b/bin/ext/help.cmd index 7814262..abd429d 100644 --- a/bin/ext/help.cmd +++ b/bin/ext/help.cmd @@ -18,7 +18,7 @@ echo "Usage ./hive --service serviceName " echo "Service List: $SERVICE_LIST" echo "Parameters parsed:" - echo " --auxpath : Auxillary jars " + echo " --auxpath : Auxiliary jars " echo " --config : Hive configuration directory" echo " --service : Starts specific service/component. cli is default" echo "Parameters used:" @@ -27,4 +27,4 @@ echo "For help on a particular service:" echo " ./hive --service serviceName --help" echo "Debug help: ./hive --debug --help" -goto :EOF \ No newline at end of file +goto :EOF diff --git a/bin/ext/help.sh b/bin/ext/help.sh index 2bb5d13..2ca5268 100644 --- a/bin/ext/help.sh +++ b/bin/ext/help.sh @@ -20,7 +20,7 @@ help() { echo "Usage ./hive --service serviceName " echo "Service List: $SERVICE_LIST" echo "Parameters parsed:" - echo " --auxpath : Auxillary jars " + echo " --auxpath : Auxiliary jars " echo " --config : Hive configuration directory" echo " --service : Starts specific service/component. cli is default" echo "Parameters used:" diff --git a/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java b/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java index b6ab345..233144f 100644 --- a/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java +++ b/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java @@ -90,7 +90,7 @@ public OptionsProcessor() { .hasArgs(2) .withArgName("key=value") .withLongOpt("define") - .withDescription("Variable subsitution to apply to hive commands. e.g. -d A=B or --define A=B") + .withDescription("Variable substitution to apply to Hive commands. e.g. -d A=B or --define A=B") .create('d')); // Substitution option --hivevar @@ -99,7 +99,7 @@ public OptionsProcessor() { .hasArgs(2) .withArgName("key=value") .withLongOpt("hivevar") - .withDescription("Variable subsitution to apply to hive commands. e.g. --hivevar A=B") + .withDescription("Variable substitution to apply to Hive commands. e.g. --hivevar A=B") .create()); // [-S|--silent] diff --git a/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java b/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java index 604d9a7..f2b309e 100644 --- a/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java +++ b/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java @@ -76,7 +76,7 @@ .hasArgs(2) .withArgName("key=value") .withLongOpt("define") - .withDescription("Variable subsitution e.g. -d A=B or --define A=B") + .withDescription("Variable substitution e.g. -d A=B or --define A=B") .create('d')); // Substitution option --hivevar @@ -85,7 +85,7 @@ .hasArgs(2) .withArgName("key=value") .withLongOpt("hivevar") - .withDescription("Variable subsitution e.g. --hivevar A=B") + .withDescription("Variable substitution e.g. --hivevar A=B") .create()); // [-version|--version]