Home
last modified time | relevance | path

Searched refs:isLongSwitch (Results 1 – 1 of 1) sorted by relevance

/plugin/asciidocjs/node_modules/yargs/build/lib/
Dusage.js244 const isLongSwitch = (sw) => /^--/.test(getText(sw)); function
279 .sort((sw1, sw2) => isLongSwitch(sw1) === isLongSwitch(sw2)
281 : isLongSwitch(sw1)
291 ….some(({ normalizedKeys, switches }) => !normalizedKeys.every(key => isLongSwitch(switches[key])));
297 if (isLongSwitch(switches[key])) {