diff --git a/src/command.ts b/src/command.ts index 3445b60a..51e9911b 100644 --- a/src/command.ts +++ b/src/command.ts @@ -68,7 +68,7 @@ export default class CommandHelp { if (!description) return return [ bold('DESCRIPTION'), - indent(wrap(description, this.opts.maxWidth - 2, {trim: false, hard: true}), 2), + indent(wrap(description.trim(), this.opts.maxWidth - 2, {trim: false, hard: true}), 2), ].join('\n') }