code: private void parseArgs(String[] args) {
          int index = 0;
          while (index < args.length) {
              String name = args[index];
              if (name.equals("-?") || name.equalsIgnoreCase("-help")) {
                  usage();
              }
              if (name.charAt(0) != '-') {
                  m_logger.error("Unrecognized parameter: {}", name);
                  usage();
              }
              if (++index >= args.length) {
                  m_logger.error("Another parameter expected after '{}'", name);
                  usage();
              }
              String value = args[index];
              try {
                  m_config.set(name.substring(1), value);
              } catch (Exception e) {
                  m_logger.error(e.toString());
                  usage();
              }
              index++;
          }
      }
docs: Parse args into CSVConfig object.