odps-console-dship/src/main/java/com/aliyun/odps/ship/common/OptionsBuilder.java [70:87]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    CommandLine line = parser.parse(opts, args);

    initContext();
    // load context from config file
    loadConfig();
    processOptions(line);

    processArgs(line.getArgs(), commond);
    checkParameters(commond.name());

    // set null when user not define RECORD_DELIMITER.
    // later read file to find out the RECORD_DELIMITER(\r\n or \n).
    if (!line.hasOption(Constants.RECORD_DELIMITER)) {
      DshipContext.INSTANCE.put(Constants.RECORD_DELIMITER, null);
    }

    setContextValue(Constants.COMMAND, buildCommand(args));
    setContextValue(Constants.COMMAND_TYPE, commond.name());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



odps-console-dship/src/main/java/com/aliyun/odps/ship/common/OptionsBuilder.java [119:134]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    CommandLine line = parser.parse(opts, args);

    initContext();
    // load context from config file
    loadConfig();
    processOptions(line);

    processArgs(line.getArgs(), commond);
    checkParameters(commond.name());

    if (!line.hasOption(Constants.RECORD_DELIMITER)) {
      DshipContext.INSTANCE.put(Constants.RECORD_DELIMITER, null);
    }

    setContextValue(Constants.COMMAND, buildCommand(args));
    setContextValue(Constants.COMMAND_TYPE, commond.name());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



