code: function toOptionToken(token) {
      if (!/^-/.test(token)) {
          token = token.split(' ')[0];
          if (!/^(\[|<)/.test(token))
              token = "[" + token + "]";
      }
      var pre = token;
      var suffix = '';
      var reqIdx = token.indexOf('<');
      var optIdx = token.indexOf('[');
      var idx = !!~reqIdx ? reqIdx : !!~optIdx ? optIdx : null;
      if (idx) {
          pre = token.slice(0, idx);
          suffix = token.slice(idx);
      }
      pre = chek_1.split(pre.trim(), constants_2.SPLIT_CHARS).join('.').replace(/\s/g, '');
      return pre + ' ' + suffix;
  }
docs: To Option Tokens
  : Formats option string to support Pargv syntax.
  
  @example
  
  coverts: 'command'
  to: '[command]'
  
  converts: '-n, --name <value>'
  to: '-n.--name <value>'
  
  @param token the string to insepct.