@trenskow/arguments-parser 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -183,6 +183,10 @@ const argumentsParser = (
|
|
|
183
183
|
|
|
184
184
|
helpUsage.push(`${opening}${strings?.options?.help?.placeholder || 'options'}${closing}`);
|
|
185
185
|
|
|
186
|
+
if (typeof options.usage === 'string') {
|
|
187
|
+
helpUsage.push(options.usage);
|
|
188
|
+
}
|
|
189
|
+
|
|
186
190
|
let shortOptions = {};
|
|
187
191
|
|
|
188
192
|
allKeyPaths
|