Skip to content

Commit

Permalink
Small addition to docs for new parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Jan 11, 2021
1 parent fcc8988 commit 182ee06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -311,7 +311,7 @@ class Help {

/**
* Wrap the given string to width characters per line, with lines after the first indented.
* Do not wrap if insufficient room for wrapping, or string is manually formatted.
* Do not wrap if insufficient room for wrapping (minColumnWidth), or string is manually formatted.
*
* @param {string} str
* @param {number} width
Expand Down
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -119,7 +119,7 @@ declare namespace commander {

/**
* Wrap the given string to width characters per line, with lines after the first indented.
* Do not wrap if insufficient room for wrapping, or string is manually formatted.
* Do not wrap if insufficient room for wrapping (minColumnWidth), or string is manually formatted.
*/
wrap(str: string, width: number, indent: number, minColumnWidth?: number): string;

Expand Down

0 comments on commit 182ee06

Please sign in to comment.