#2228·yargs

Option columns in help text don't have enough separation

Author: 0x2b3bfa0Created Aug 22, 2022Updated Sep 26, 2026
Labelsfeature request
javascript
require('yargs')
  .default('option', 'description', 'x'.repeat(59))
  .parse(['--help'])
Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
  --option[default: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]

Note that there is no whitespace between --option and the subsequent [default: ...]