Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: put config.bin in title
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Mar 23, 2018
1 parent 73ecf81 commit f498214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/readme.ts
Expand Up @@ -138,7 +138,7 @@ USAGE
this.debug('rendering command', c.id)
let title = template({config})(c.description || '').trim().split('\n')[0]
const help = new Help(config, {stripAnsi: true, maxWidth: 120})
const header = () => '#'.repeat(level) + ` ${this.commandUsage(c)}`
const header = () => '#'.repeat(level) + ` ${config.bin} ${this.commandUsage(c)}`
const subcommands = (): string | undefined => {
return commands
.filter(sc => sc.id.startsWith(c.id) && sc.id !== c.id)
Expand Down

0 comments on commit f498214

Please sign in to comment.