public static Options buildCommandlineOptions(final Options options) {
        Option opt = new Option("c", "configFile", true, "Name server config properties file");
        opt.setRequired(false);
        options.addOption(opt);

        opt = new Option("p", "printConfigItem", false, "Print all config items");
        opt.setRequired(false);
        options.addOption(opt);
        return options;
    }
@Test
    public void testBuildCommandlineOptions() {
        Options options = NamesrvStartup.buildCommandlineOptions(this.options);
        Assert.assertNotNull(options);
    }