code: private static PluginOption parsePluginOption(final Element option) {
          PluginOption po = new PluginOption();
          po.setArgName(option.attributeValue("argName"));
          po.setArgsCount(Integer.valueOf(option.attributeValue("argsCount", "1")));
          po.setArgsOptional(Boolean.valueOf(option.attributeValue("optionalArgs", "false")));
          po.setDescription(option.attributeValue("description"));
          po.setHasArgs(Boolean.parseBoolean(option.attributeValue("hasArgs", "false")));
          po.setLongOpt(option.attributeValue("longName"));
          po.setOption(option.attributeValue("shortName"));
          po.setRequired(Boolean.parseBoolean(option.attributeValue("required", "false")));
          po.setType(option.attributeValue("type"));
          po.setValueSeparator(option.attributeValue("separator"));
  
          return po;
      }
docs: Parses a plugin option XML definition.
  
  @param option
  The plugin option XML definition
  
  @return The parsed plugin option