@virmator/help 14.7.0 → 14.7.1
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/dist/help-message.js +3 -1
- package/package.json +2 -2
package/dist/help-message.js
CHANGED
|
@@ -125,7 +125,9 @@ function docEntryToString(entry, indentCount, useBullets, format) {
|
|
|
125
125
|
return `${indent(indentCount + 1, format)}${useBullets ? format.bullet : ''}${title}${content}`;
|
|
126
126
|
}
|
|
127
127
|
function commandDocToString(command, format, indentCount) {
|
|
128
|
-
const sections = command.doc.sections.map((section) => docEntryToString({
|
|
128
|
+
const sections = command.doc.sections.map((section) => docEntryToString({
|
|
129
|
+
content: section,
|
|
130
|
+
}, indentCount, false, format));
|
|
129
131
|
const examples = command.doc.examples.map((example) => docEntryToString(example, indentCount + 1, true, format));
|
|
130
132
|
const exampleBlock = examples.length
|
|
131
133
|
? `${indent(indentCount + 1, format)}${format.bullet}Examples\n${examples.join('\n')}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/help",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.1",
|
|
4
4
|
"description": "Default help plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@augment-vir/assert": "^31.64.0",
|
|
36
36
|
"@augment-vir/common": "^31.64.0",
|
|
37
37
|
"@augment-vir/node": "^31.64.0",
|
|
38
|
-
"@virmator/core": "^14.7.
|
|
38
|
+
"@virmator/core": "^14.7.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@augment-vir/test": "^31.64.0",
|