public static CommandLine initOptions(String[] args) {
        CommandLineParser parser = new DefaultParser();
        Options options = new Options();
        options.addOption("h", "help", false, "show help");
        try {
            return parser.parse(options, args);
        } catch (Exception ex) {
            help(options);
        }
        return null;
    }
Init options

@param args argument
@return command line
inlong-agent/agent-core/src/main/java/org/apache/inlong/agent/core/AgentMain.java