Searched refs:isShortOption (Results 1 – 1 of 1) sorted by relevance
123 const isShortOption = (s) => /^[^0-9]$/.test(s); function124 const dashes = !startsByTwoDashes(current) && isShortOption(key) ? '-' : '--';