Skip to content
Myr

Allow partial argument descriptions (#1323)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Gee · committed by GitHub · parent f47bdf5 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:index.js+1 added-1 removed
1548 unmodified lines
1549 const descriptionWidth = columns - width - 5;1550 desc.push('Arguments:');1551 desc.push('');1552 this._args.forEach((arg) => {1553 desc.push(' ' + pad(arg.name, width) + ' ' + wrap(argsDescription[arg.name], descriptionWidth, width + 4));1553 desc.push(' ' + pad(arg.name, width) + ' ' + wrap(argsDescription[arg.name] || '', descriptionWidth, width + 4));1554 });1555 desc.push('');1556 }1557 }
289 unmodified lines