code: public static void populateArgumentTags(final TaggedArgument taggedArg, final String longArgName, final String tagString) {
          if (tagString == null) {
              taggedArg.setTag(null);
              taggedArg.setTagAttributes(Collections.emptyMap());
          } else {
              final ParsedArgument pa = ParsedArgument.of(longArgName, tagString);
              taggedArg.setTag(pa.getName());
              taggedArg.setTagAttributes(pa.keyValueMap());
          }
      }
docs: Parse a tag string and populate a TaggedArgument with values.
  
  @param taggedArg TaggedArgument to receive tags
  @param longArgName name of the argument being tagged
  @param tagString tag string (including logical name and attributes, no option name)