Skip to content

Commit 182ee06

Browse files
committed
Small addition to docs for new parameter
1 parent fcc8988 commit 182ee06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ class Help {
311311

312312
/**
313313
* Wrap the given string to width characters per line, with lines after the first indented.
314-
* Do not wrap if insufficient room for wrapping, or string is manually formatted.
314+
* Do not wrap if insufficient room for wrapping (minColumnWidth), or string is manually formatted.
315315
*
316316
* @param {string} str
317317
* @param {number} width

typings/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ declare namespace commander {
119119

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

0 commit comments

Comments
 (0)