public void setOutputFormat(String outputFormat) {
    if(outputFormat.equalsIgnoreCase("csv") || outputFormat.equalsIgnoreCase("tsv")) {
      beeLine.info("Format " + outputFormat + " is deprecated, please use " + outputFormat + "2");
    }
    this.outputFormat = outputFormat;
  }
In beeline mode returns the beeline option provided by command line argument or config file
In compatibility mode returns the value of the hive.cli.print.current.db config variable
@return Should the current db displayed in the prompt
beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java