Update docs
This commit is contained in:
parent
1a8c5c72d7
commit
3ef1d44cdb
4
index.js
4
index.js
@ -350,10 +350,10 @@ if (!args || args.help) {
|
||||
};
|
||||
}
|
||||
if (fields.length > 0) {
|
||||
doc += "|#|Field name|Field type|\n|:-:|-|-|\n";
|
||||
doc += "#|Field name|Field type\n-|-|-\n";
|
||||
for (let i = 1; i <= fields.length; i++) {
|
||||
if (fields[i]) {
|
||||
doc += `|${i}|${fields[i].name}|${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type+')')}|\n`;
|
||||
doc += `${i}|${fields[i].name}|${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type+')')}\n`;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user