public boolean hasHelpOption() {
    if(commandLine.hasOption('H')) {
      return true;
    }
    return false;
  }
Test whether help option is set
hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java