Always display something from docs

This commit is contained in:
Devine Lu Linvega 2019-07-24 11:12:54 +09:00
parent 4e4a25f3a6
commit 2a5564465a

View File

@ -212,7 +212,7 @@ function Commander (ronin) {
}, '')
},
print: function (name) {
return this.dict[name] ? `(${name} ${this.dict[name].params.reduce((acc, item) => { return `${acc}${item} ` }, '').trim()})` : ''
return this.dict[name] ? `(${name} ${this.dict[name].params.reduce((acc, item) => { return `${acc}${item} ` }, '').trim()})` : 'idle.'
}
}