From 78e36d6eff91b8e441fb95de17446146993aeeaf Mon Sep 17 00:00:00 2001 From: John Gee Date: Sat, 1 Aug 2020 18:19:36 +1200 Subject: [PATCH] Allow partial argument descriptions --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5dacc8d88..538da1499 100644 --- a/index.js +++ b/index.js @@ -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(''); }