@trenskow/arguments-parser 0.3.74 → 0.3.76
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 +3 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -186,7 +186,9 @@ const argumentsParser = (
|
|
|
186
186
|
.all()
|
|
187
187
|
.filter((keyPath) => keyPath);
|
|
188
188
|
|
|
189
|
-
|
|
189
|
+
if (allKeyPaths.length) {
|
|
190
|
+
helpUsage.push(`${opening}${strings?.options?.help?.placeholder || 'options'}${closing}`);
|
|
191
|
+
}
|
|
190
192
|
|
|
191
193
|
if (typeof options.usage === 'string') {
|
|
192
194
|
helpUsage.push(options.usage);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trenskow/arguments-parser",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.76",
|
|
4
4
|
"description": "Yet another arguments parser.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@trenskow/caseit": "^1.4.23",
|
|
28
28
|
"@trenskow/print": "^0.1.53",
|
|
29
|
-
"isvalid": "^4.2.
|
|
29
|
+
"isvalid": "^4.2.23"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@eslint/eslintrc": "^3.3.5",
|