code: private static void usage(final String errorMsg) {
      if (errorMsg != null && errorMsg.length() > 0) {
        System.err.println("ERROR: " + errorMsg);
      }
      System.err.println("Usage: Import [options] <tablename> <inputdir>");
      System.err.println(" Mandatory properties:");
      System.err.println("  -D " + BigtableOptionsFactory.PROJECT_ID_KEY + "=<bigtable project id>");
      System.err.println("  -D " + BigtableOptionsFactory.INSTANCE_ID_KEY + "=<bigtable instance id>");
      System.err
          .println(" To apply a generic org.apache.hadoop.hbase.filter.Filter to the input, use");
      System.err.println("  -D" + FILTER_CLASS_CONF_KEY + "=<name of filter class>");
      System.err.println("  -D" + FILTER_ARGS_CONF_KEY + "=<comma separated list of args for filter");
      System.err.println(" NOTE: The filter will be applied BEFORE doing key renames via the "
          + CF_RENAME_PROP + " property. Futher, filters will only use the"
          + " Filter#filterRowKey(byte[] buffer, int offset, int length) method to identify "
          + " whether the current row needs to be ignored completely for processing and "
          + " Filter#filterKeyValue(KeyValue) method to determine if the KeyValue should be added;"
          + " Filter.ReturnCode#INCLUDE and #INCLUDE_AND_NEXT_COL will be considered as including"
          + " the KeyValue.");
      System.err.println("   -D " + JOB_NAME_CONF_KEY
          + "=jobName - use the specified mapreduce job name for the import");
      System.err.println("For performance consider the following options:\n"
          + "  -Dmapreduce.map.speculative=false\n"
          + "  -Dmapreduce.reduce.speculative=false\n");
    }
docs: /*
  @param errorMsg Error message.  Can be null.