code: public static void main(String... args) {
          DocLint dl = new DocLint();
          try {
              dl.run(args);
          } catch (BadArgs e) {
              System.err.println(e.getMessage());
              System.exit(1);
          } catch (IOException e) {
              System.err.println(dl.localize("dc.main.ioerror", e.getLocalizedMessage()));
              System.exit(2);
          }
      }
docs: <editor-fold defaultstate="collapsed" desc="Command-line entry point">