Skip to content

Commit

Permalink
Allow partial argument descriptions (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Aug 1, 2020
1 parent f47bdf5 commit c7f5f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -1550,7 +1550,7 @@ Read more on https://git.io/JJc0W`);
desc.push('Arguments:');
desc.push('');
this._args.forEach((arg) => {
desc.push(' ' + pad(arg.name, width) + ' ' + wrap(argsDescription[arg.name], descriptionWidth, width + 4));
desc.push(' ' + pad(arg.name, width) + ' ' + wrap(argsDescription[arg.name] || '', descriptionWidth, width + 4));
});
desc.push('');
}
Expand Down

0 comments on commit c7f5f78

Please sign in to comment.